Skip to content

Commit

Permalink
Fix: Missing payable at function forceOwnerChange
Browse files Browse the repository at this point in the history
forceOwnerChange expects ether, and does not have the payable keyword.
  • Loading branch information
mattaereal authored Mar 19, 2018
1 parent 2b2527f commit 6e730df
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 6e730df

Please sign in to comment.