aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/peer.go b/peer.go
index 690281da9..cd3cc7635 100644
--- a/peer.go
+++ b/peer.go
@@ -335,8 +335,8 @@ func (p *Peer) HandleInbound() {
block = ethchain.NewBlockFromRlpValue(msg.Data.Get(i))
//p.ethereum.StateManager().PrepareDefault(block)
- state := p.ethereum.StateManager().CurrentState()
- err = p.ethereum.StateManager().ProcessBlock(state, block, false)
+ //state := p.ethereum.StateManager().CurrentState()
+ err = p.ethereum.StateManager().Process(block, false)
if err != nil {
if ethutil.Config.Debug {