add error check to StageBlocksStream
This commit is contained in:
parent
026d195163
commit
f72a6d8eba
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue