From e9822bb3bb266d9582aa4b830fd826c74b236a7a 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 2d1ba2e33..508e0e617 100644 --- a/libethereum/State.cpp +++ b/libethereum/State.cpp @@ -134,7 +134,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)) @@ -1091,7 +1091,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);