bring back storage.UpdateAddress

pull/1626/head
Rongjian Lan 5 years ago
parent 9be5b9e163
commit a24c1d81cd
  1. 3
      api/service/explorer/storage.go

@ -118,8 +118,7 @@ func (storage *Storage) Dump(block *types.Block, height uint64) {
explorerTransaction := GetTransaction(tx, block)
storage.UpdateTXStorage(batch, explorerTransaction, tx)
//storage.UpdateAddress(batch, explorerTransaction, tx)
storage.UpdateAddress(batch, explorerTransaction, tx)
}
if err := batch.Write(); err != nil {
ctxerror.Warn(utils.GetLogger(), err, "cannot write batch")

Loading…
Cancel
Save