diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-17 17:33:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-17 17:33:03 +0800 |
commit | b15a4985e89b1fbf67731bde2e4cef45b3fdf347 (patch) | |
tree | 71648b6ac08014fe83baf38c9559aff531065c87 /peer.go | |
parent | 54bcee512d6be40691a579dba8de29193cf09ddd (diff) | |
download | dexon-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.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 { |