function() payable external {
eth_balance[msg.sender] += msg.value;
}
This is not working. The execution is reverted and uses about 21,000 gas. No matter if I set the gas crazy high like 800,000 it still fails. This is on rinkeby network. Any ideas? I'm using Remix IDE.
msg.valueare you using and what is the balance ofmsg.sender? – goodvibration Oct 24 '19 at 05:02msg.sender.balance < msg.value. – goodvibration Oct 24 '19 at 05:04