mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +00:00
- Solidity Upgraded up to v0.8.0 - Fixed and Added eth_chainId - Fix error in TransactionRecipet - Reward halving issue fixed
9 lines
237 B
Solidity
9 lines
237 B
Solidity
pragma solidity ^0.6.0;
|
|
// This contract keeps all Ether sent to it with no way
|
|
// to get it back.
|
|
contract Sink {
|
|
event Received(address, uint);
|
|
receive() external payable {
|
|
emit Received(msg.sender, msg.value);
|
|
}
|
|
}
|