aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatías A. Ré Medina <aereal@gmail.com>2018-03-20 03:38:20 +0800
committerGitHub <noreply@github.com>2018-03-20 03:38:20 +0800
commit6e730df036f6672e07cf96189a8cf721bf7d0cc4 (patch)
treecef68b3c33719f1c236bae4aa2d614e3bf78f265
parent2b2527f31ce3e7946b35759a1ac4a096c918b91c (diff)
downloaddexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.tar
dexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.tar.gz
dexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.tar.bz2
dexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.tar.lz
dexon-solidity-6e730df036f6672e07cf96189a8cf721bf7d0cc4.tar.xz
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.rst1
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;