From 0a07bba23647d93889a3b3a257bbe63d0bd69fcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ju=CC=81lio=20Santos?= Date: Wed, 20 Jun 2018 15:50:44 +0200 Subject: [PATCH] Relay execution value --- contracts/KeyHolder.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/KeyHolder.sol b/contracts/KeyHolder.sol index 281f750..f401b90 100644 --- a/contracts/KeyHolder.sol +++ b/contracts/KeyHolder.sol @@ -83,7 +83,7 @@ contract KeyHolder is ERC725 { if (_approve == true) { executions[_id].approved = true; - success = executions[_id].to.call(executions[_id].data, 0); + success = executions[_id].to.call.value(executions[_id].value)(executions[_id].data, 0); if (success) { executions[_id].executed = true; emit Executed(