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.value
are you using and what is the balance ofmsg.sender
?msg.sender.balance < msg.value
.