mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
FetchTxAllBySha needs to return err to the caller.
ok drahn@
This commit is contained in:
parent
62e38e29e5
commit
18b3e86179
@ -105,7 +105,7 @@ func (db *LevelDb) FetchTxAllBySha(txsha *btcwire.ShaHash) (rtx *btcwire.MsgTx,
|
||||
|
||||
tx, txbuf, pver, blksha, _, _, err := db.fetchTxDataBySha(txsha)
|
||||
|
||||
return tx, txbuf, pver, blksha, nil
|
||||
return tx, txbuf, pver, blksha, err
|
||||
}
|
||||
|
||||
// FetchTxBySha returns some data for the given Tx Sha.
|
||||
|
Loading…
x
Reference in New Issue
Block a user