From aa43d7261d5433a231f9d36abea074ce95f8c811 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Mon, 18 May 2015 16:59:35 +0200 Subject: [PATCH] fix Create return value for exceptional haltings --- libethereum/Executive.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libethereum/Executive.cpp b/libethereum/Executive.cpp index 2d8dbdc16..a1eee9440 100644 --- a/libethereum/Executive.cpp +++ b/libethereum/Executive.cpp @@ -246,6 +246,9 @@ bool Executive::go(OnOpFunc const& _onOp) m_endGas = 0; m_excepted = toTransactionException(_e); m_ext->revert(); + + if (m_isCreation) + m_newAddress = Address(); } catch (Exception const& _e) {