aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-03-21 23:27:12 +0800
committerGitHub <noreply@github.com>2018-03-21 23:27:12 +0800
commitcddb549d2ccd11de36a8f9626eb9cd4a4c84f74c (patch)
treecef68b3c33719f1c236bae4aa2d614e3bf78f265
parent2b2527f31ce3e7946b35759a1ac4a096c918b91c (diff)
parent6e730df036f6672e07cf96189a8cf721bf7d0cc4 (diff)
downloaddexon-solidity-cddb549d2ccd11de36a8f9626eb9cd4a4c84f74c.tar.gz
dexon-solidity-cddb549d2ccd11de36a8f9626eb9cd4a4c84f74c.tar.zst
dexon-solidity-cddb549d2ccd11de36a8f9626eb9cd4a4c84f74c.zip
Merge pull request #3763 from mattaereal/patch-1
Fix: Missing payable at function forceOwnerChange
-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;