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)
downloadgo-tangerine-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar.gz
go-tangerine-b15a4985e89b1fbf67731bde2e4cef45b3fdf347.tar.zst
go-tangerine-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 {