FetchTxAllBySha needs to return err to the caller.

ok drahn@
This commit is contained in:
David Hill 2013-09-23 15:39:53 -04:00
parent 62e38e29e5
commit 18b3e86179

View file

@ -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.