Skip to content
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

Return msg.sender.balance returns strange value #483

Open
imterryyy opened this issue Nov 27, 2024 · 0 comments
Open

Return msg.sender.balance returns strange value #483

imterryyy opened this issue Nov 27, 2024 · 0 comments

Comments

@imterryyy
Copy link
Collaborator

Solidity

pragma solidity ^0.4.11;

contract Test {
  function balanceOfEther() public constant returns (uint256) { return msg.sender.balance; } 
}

Return:
Screenshot 2024-11-27 at 16 19 36

Expected:

  • Sender balance

Reference issue: ethereum/go-ethereum#16999

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant