mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-26 13:18:22 +00:00
Moved
This commit is contained in:
parent
4a2dd306c7
commit
34da3b4fa8
@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"github.com/ethereum/eth-go/ethcrypto"
|
"github.com/ethereum/eth-go/ethcrypto"
|
||||||
"github.com/ethereum/eth-go/ethlog"
|
"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/ethutil"
|
||||||
"github.com/ethereum/eth-go/ethwire"
|
"github.com/ethereum/eth-go/ethwire"
|
||||||
"math/big"
|
"math/big"
|
||||||
@ -214,12 +214,14 @@ func (sm *StateManager) Process(block *Block, dontReact bool) (err error) {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
if ethutil.Config.Paranoia {
|
if ethutil.Config.Paranoia {
|
||||||
valid, _ := ethtrie.ParanoiaCheck(state.trie)
|
valid, _ := ethtrie.ParanoiaCheck(state.trie)
|
||||||
if !valid {
|
if !valid {
|
||||||
err = fmt.Errorf("PARANOIA: World state trie corruption")
|
err = fmt.Errorf("PARANOIA: World state trie corruption")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if !block.State().Cmp(state) {
|
if !block.State().Cmp(state) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user