Return proper error

This commit is contained in:
obscuren
2015-03-13 17:47:11 +01:00
parent a0266489b4
commit 03403399fc
4 changed files with 7 additions and 1 deletions

View File

@ -449,6 +449,8 @@ func (self *ChainManager) InsertChain(chain types.Blocks) error {
*/
self.setTransState(state.New(block.Root(), self.stateDb))
self.setTxState(state.New(block.Root(), self.stateDb))
queue[i] = ChainEvent{block}
queueEvent.canonicalCount++
} else {