diff options
author | Matías A. Ré Medina <aereal@gmail.com> | 2018-03-20 03:38:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-20 03:38:20 +0800 |
commit | 6e730df036f6672e07cf96189a8cf721bf7d0cc4 (patch) | |
tree | cef68b3c33719f1c236bae4aa2d614e3bf78f265 | |
parent | 2b2527f31ce3e7946b35759a1ac4a096c918b91c (diff) | |
download | dexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.tar.gz dexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.tar.zst dexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.zip |
Fix: Missing payable at function forceOwnerChange
forceOwnerChange expects ether, and does not have the payable keyword.
-rw-r--r-- | docs/common-patterns.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst index 7e09f534..c62b5aca 100644 --- a/docs/common-patterns.rst +++ b/docs/common-patterns.rst @@ -194,6 +194,7 @@ restrictions highly readable. function forceOwnerChange(address _newOwner) public + payable costs(200 ether) { owner = _newOwner; |