aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-03 16:05:02 +0800
committerobscuren <geffobscura@gmail.com>2014-07-03 16:05:02 +0800
commit5d6713920625b82df2b55728b2cbb9f7f3df2025 (patch)
treec9f27cb07a011727ca5cd9e6d66579e86cc6b743 /ethchain
parent5b8dde96026b123147733bb5cdf88b7774725015 (diff)
downloaddexon-5d6713920625b82df2b55728b2cbb9f7f3df2025.tar.gz
dexon-5d6713920625b82df2b55728b2cbb9f7f3df2025.tar.zst
dexon-5d6713920625b82df2b55728b2cbb9f7f3df2025.zip
Fix
Diffstat (limited to 'ethchain')
-rw-r--r--ethchain/state_manager.go2
-rw-r--r--ethchain/state_transition.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/ethchain/state_manager.go b/ethchain/state_manager.go
index c42238e5c..027c6a085 100644
--- a/ethchain/state_manager.go
+++ b/ethchain/state_manager.go
@@ -208,7 +208,7 @@ func (sm *StateManager) Process(block *Block, dontReact bool) (err error) {
if ethutil.Config.Paranoia {
valid, _ := ethtrie.ParanoiaCheck(state.trie)
if !valid {
- err = fmt.Errorf("PARANOIA: World state trie comparison failed")
+ err = fmt.Errorf("PARANOIA: World state trie corruption")
}
}
diff --git a/ethchain/state_transition.go b/ethchain/state_transition.go
index 898344c2e..31196d2d7 100644
--- a/ethchain/state_transition.go
+++ b/ethchain/state_transition.go
@@ -53,6 +53,7 @@ func (self *StateTransition) Sender() *StateObject {
}
self.sen = self.state.GetAccount(self.tx.Sender())
+
return self.sen
}
func (self *StateTransition) Receiver() *StateObject {