add error check to StageBlocksStream

This commit is contained in:
Larry Ruane 2020-05-29 10:25:27 -06:00 committed by Larry Ruane
parent 026d195163
commit f72a6d8eba
1 changed files with 3 additions and 0 deletions

View File

@ -331,6 +331,9 @@ func (s *DarksideStreamer) StageTransactionsStream(tx walletrpc.DarksideStreamer
tx.SendAndClose(&walletrpc.Empty{})
return nil
}
if err != nil {
return err
}
err = common.DarksideStageTransaction(int(transaction.Height), transaction.Data)
if err != nil {
return err