Merge pull request #1265 from cfromknecht/fix-indexer-reorg

blockchain/indexers: fix bug in indexer re-org catch up
This commit is contained in:
Olaoluwa Osuntokun 2018-08-22 20:07:08 -07:00 committed by GitHub
commit e3a8d7fb29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -309,7 +309,7 @@ func (m *Manager) Init(chain *blockchain.BlockChain, interrupt <-chan struct{})
if err != nil {
return err
}
block, err := btcutil.NewBlockFromBytes(blockBytes)
block, err = btcutil.NewBlockFromBytes(blockBytes)
if err != nil {
return err
}