From 6e730df036f6672e07cf96189a8cf721bf7d0cc4 Mon Sep 17 00:00:00 2001 From: "Matías A. Ré Medina" Date: Mon, 19 Mar 2018 16:38:20 -0300 Subject: Fix: Missing payable at function forceOwnerChange forceOwnerChange expects ether, and does not have the payable keyword. --- docs/common-patterns.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'docs') 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; -- cgit