forked from cerc-io/plugeth
Fix
This commit is contained in:
parent
5b8dde9602
commit
5d67139206
@ -208,7 +208,7 @@ func (sm *StateManager) Process(block *Block, dontReact bool) (err error) {
|
|||||||
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 comparison failed")
|
err = fmt.Errorf("PARANOIA: World state trie corruption")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -53,6 +53,7 @@ func (self *StateTransition) Sender() *StateObject {
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.sen = self.state.GetAccount(self.tx.Sender())
|
self.sen = self.state.GetAccount(self.tx.Sender())
|
||||||
|
|
||||||
return self.sen
|
return self.sen
|
||||||
}
|
}
|
||||||
func (self *StateTransition) Receiver() *StateObject {
|
func (self *StateTransition) Receiver() *StateObject {
|
||||||
|
Loading…
Reference in New Issue
Block a user