diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-21 17:42:20 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-21 17:42:20 +0800 |
commit | cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d (patch) | |
tree | f94c450b2213bfecba7c102cd247ff98f70ea5f6 /peer.go | |
parent | 734b2e4cf7a2e6ed3ab0815b795730c62e235a6b (diff) | |
download | go-tangerine-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar go-tangerine-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar.gz go-tangerine-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar.bz2 go-tangerine-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar.lz go-tangerine-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar.xz go-tangerine-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.tar.zst go-tangerine-cbf221f6b7a48ece543d6141d8a7e9dbf9b8d86d.zip |
Fixed competing block method
Diffstat (limited to 'peer.go')
-rw-r--r-- | peer.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |