From d04a94ca37c72d1422c6e392f25785f35751f3f2 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 3 Mar 2015 11:18:00 +0100 Subject: [PATCH] Avoid invalid paranoia tests. --- libethereum/State.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libethereum/State.cpp b/libethereum/State.cpp index 014d0f91e..6b594e7a5 100644 --- a/libethereum/State.cpp +++ b/libethereum/State.cpp @@ -133,7 +133,7 @@ State::State(State const& _s): void State::paranoia(std::string const& _when, bool _enforceRefs) const { -#if ETH_PARANOIA +#if ETH_PARANOIA && !ETH_FATDB // TODO: variable on context; just need to work out when there should be no leftovers // [in general this is hard since contract alteration will result in nodes in the DB that are no directly part of the state DB]. if (!isTrieGood(_enforceRefs, false)) @@ -1084,7 +1084,7 @@ u256 State::execute(LastHashes const& _lh, bytesConstRef _rlp, bytes* o_output, commit(); -#if ETH_PARANOIA +#if ETH_PARANOIA && !ETH_FATDB ctrace << "Executed; now" << rootHash(); ctrace << old.diff(*this);