BuildOnViction / victionchain

The Efficient Blockchain Powered By Proof Of Stake Voting Consensus
https://viction.xyz
GNU Lesser General Public License v3.0
168 stars 85 forks source link

Return msg.sender.balance returns strange value #483

Open imterryyy opened 14 hours ago

imterryyy commented 14 hours ago

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:

Reference issue: https://github.com/ethereum/go-ethereum/issues/16999