Skip to content

Commit

Permalink
Merge pull request #3763 from mattaereal/patch-1
Browse files Browse the repository at this point in the history
Fix: Missing payable at function forceOwnerChange
  • Loading branch information
chriseth authored Mar 21, 2018
2 parents 2b2527f + 6e730df commit cddb549
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/common-patterns.rst
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ restrictions highly readable.

function forceOwnerChange(address _newOwner)
public
payable
costs(200 ether)
{
owner = _newOwner;
Expand Down

0 comments on commit cddb549

Please sign in to comment.