aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-16 02:35:07 +0800
committerobscuren <geffobscura@gmail.com>2014-07-16 02:35:07 +0800
commit34da3b4fa8133a2042919fe344b7bc656fcad4f2 (patch)
tree41eecd8bbd21305f1b71ce4bc7e96ab3dc3a038a /ethchain
parent4a2dd306c7de99c91c8b3bcb5e57f322de798ba8 (diff)
downloadgo-tangerine-34da3b4fa8133a2042919fe344b7bc656fcad4f2.tar
go-tangerine-34da3b4fa8133a2042919fe344b7bc656fcad4f2.tar.gz
go-tangerine-34da3b4fa8133a2042919fe344b7bc656fcad4f2.tar.bz2
go-tangerine-34da3b4fa8133a2042919fe344b7bc656fcad4f2.tar.lz
go-tangerine-34da3b4fa8133a2042919fe344b7bc656fcad4f2.tar.xz
go-tangerine-34da3b4fa8133a2042919fe344b7bc656fcad4f2.tar.zst
go-tangerine-34da3b4fa8133a2042919fe344b7bc656fcad4f2.zip
Moved
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state_manager.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index 129b30ba6..80362fa77 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -6,7 +6,7 @@ import (
"fmt"
"github.com/ethereum/eth-go/ethcrypto"
"github.com/ethereum/eth-go/ethlog"
- "github.com/ethereum/eth-go/ethtrie"
+ _ "github.com/ethereum/eth-go/ethtrie"
"github.com/ethereum/eth-go/ethutil"
"github.com/ethereum/eth-go/ethwire"
"math/big"
@@ -214,12 +214,14 @@ func (sm *StateManager) Process(block *Block, dontReact bool) (err error) {
return err
}
- if ethutil.Config.Paranoia {
- valid, _ := ethtrie.ParanoiaCheck(state.trie)
- if !valid {
- err = fmt.Errorf("PARANOIA: World state trie corruption")
+ /*
+ if ethutil.Config.Paranoia {
+ valid, _ := ethtrie.ParanoiaCheck(state.trie)
+ if !valid {
+ err = fmt.Errorf("PARANOIA: World state trie corruption")
+ }
}
- }
+ */
if !block.State().Cmp(state) {