aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
Diffstat (limited to 'peer.go')
-rw-r--r--peer.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/peer.go b/peer.go
index 22a4c32fd..89b567fb6 100644
--- a/peer.go
+++ b/peer.go
@@ -293,7 +293,8 @@ func (p *Peer) HandleInbound() {
var err error
for i := msg.Data.Len() - 1; i >= 0; i-- {
block = ethchain.NewBlockFromRlpValue(msg.Data.Get(i))
- // FIXME p.ethereum.BlockManager.DefaultPrepare(block)
+
+ p.ethereum.StateManager().PrepareDefault(block)
err = p.ethereum.StateManager().ProcessBlock(block)
if err != nil {