From 6e730df036f6672e07cf96189a8cf721bf7d0cc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20A=2E=20R=C3=A9=20Medina?= Date: Mon, 19 Mar 2018 16:38:20 -0300 Subject: [PATCH] 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(+) diff --git a/docs/common-patterns.rst b/docs/common-patterns.rst index 7e09f53468de..c62b5acabbf2 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;