diff options
author | chriseth <chris@ethereum.org> | 2018-06-29 00:08:45 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2018-06-29 06:23:52 +0800 |
commit | eeef82b2d77c6f956039c57b0598e684254ee6dd (patch) | |
tree | 82887915936dbf242d5574c1fe9d61f5ace312d9 /test/contracts/Wallet.cpp | |
parent | 4268062985e434b00f07e3f90772b94538933b9c (diff) | |
download | dexon-solidity-eeef82b2d77c6f956039c57b0598e684254ee6dd.tar dexon-solidity-eeef82b2d77c6f956039c57b0598e684254ee6dd.tar.gz dexon-solidity-eeef82b2d77c6f956039c57b0598e684254ee6dd.tar.bz2 dexon-solidity-eeef82b2d77c6f956039c57b0598e684254ee6dd.tar.lz dexon-solidity-eeef82b2d77c6f956039c57b0598e684254ee6dd.tar.xz dexon-solidity-eeef82b2d77c6f956039c57b0598e684254ee6dd.tar.zst dexon-solidity-eeef82b2d77c6f956039c57b0598e684254ee6dd.zip |
Fallback function has to be external: backwards-compatible changes.
Diffstat (limited to 'test/contracts/Wallet.cpp')
-rw-r--r-- | test/contracts/Wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/contracts/Wallet.cpp b/test/contracts/Wallet.cpp index 98be562c..0a596b6d 100644 --- a/test/contracts/Wallet.cpp +++ b/test/contracts/Wallet.cpp @@ -379,7 +379,7 @@ contract Wallet is multisig, multiowned, daylimit { } // gets called when no other function matches - function() payable { + function() external payable { // just being sent some cash? if (msg.value > 0) emit Deposit(msg.sender, msg.value); |