aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain
diff options
context:
space:
mode:
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 {