From 4e7855b1728834bc2c1fc9bf8bdc233ff217fd65 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 2 Jul 2014 14:12:10 +0200 Subject: [PATCH] Null ext check. --- libethereum/Executive.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libethereum/Executive.cpp b/libethereum/Executive.cpp index 7274b8917..335681f7c 100644 --- a/libethereum/Executive.cpp +++ b/libethereum/Executive.cpp @@ -231,6 +231,7 @@ void Executive::finalize() m_s.addBalance(m_s.m_currentBlock.coinbaseAddress, feesEarned); // Suicides... - for (auto a: m_ext->suicides) - m_s.m_cache[a].kill(); + if (m_ext) + for (auto a: m_ext->suicides) + m_s.m_cache[a].kill(); }