aboutsummaryrefslogtreecommitdiffstats
path: root/peer.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-17 17:33:03 +0800
committerobscuren <geffobscura@gmail.com>2014-03-17 17:33:03 +0800
commitb15a4985e89b1fbf67731bde2e4cef45b3fdf347 (patch)
tree71648b6ac08014fe83baf38c9559aff531065c87 /peer.go
parent54bcee512d6be40691a579dba8de29193cf09ddd (diff)
downloaddexon-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar
dexon-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar.gz
dexon-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar.bz2
dexon-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar.lz
dexon-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar.xz
dexon-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar.zst
dexon-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.zip
Moved on to the state manager
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 {