FetchTxAllBySha needs to return err to the caller.
ok drahn@
This commit is contained in:
parent
62e38e29e5
commit
18b3e86179
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ func (db *LevelDb) FetchTxAllBySha(txsha *btcwire.ShaHash) (rtx *btcwire.MsgTx,
|
||||||
|
|
||||||
tx, txbuf, pver, blksha, _, _, err := db.fetchTxDataBySha(txsha)
|
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.
|
// FetchTxBySha returns some data for the given Tx Sha.
|
||||||
|
|
Loading…
Reference in a new issue