-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isContract will always return true #2
Comments
I don't understand what are you talking about. I wrote this small example: I deployed it here on Ropsten: 0x8102d6c0CAc954BE65E60Eae602713c0c6e66f5D |
For some reason this exact same code is returning false on TestRPC because the value that is returned from the below assembly is 1 when passed with a non contract address.
|
Based on my testing, TestRPC is fucking up and returning size = 1 in I'm so confused by how this could be happening. |
The
extcodesize(address)
will return1
when called against an externally owned account.I modified isContract() to return the value of length.
The text was updated successfully, but these errors were encountered: