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 { if err != nil {
return err return err
} }
block, err := btcutil.NewBlockFromBytes(blockBytes) block, err = btcutil.NewBlockFromBytes(blockBytes)
if err != nil { if err != nil {
return err return err
} }