diff options
author | chriseth <chris@ethereum.org> | 2018-06-29 15:19:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-29 15:19:24 +0800 |
commit | c9cab803892a09386617faab6b4e1580ee2eaa47 (patch) | |
tree | 9e2d7f4b5d79608028739199cc7163423e5b2310 /test/contracts | |
parent | 29f6ee36d046cd686cfd3ea630a2dc3945d4040f (diff) | |
parent | eeef82b2d77c6f956039c57b0598e684254ee6dd (diff) | |
download | dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.gz dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.bz2 dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.lz dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.xz dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.tar.zst dexon-solidity-c9cab803892a09386617faab6b4e1580ee2eaa47.zip |
Merge pull request #4375 from ethereum/fallbackExternalBackwardsCompatible
Fallback function has to be external: backwards-compatible changes.
Diffstat (limited to 'test/contracts')
-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); |