diff --git a/ldb/dbcache.go b/ldb/dbcache.go index 6a9b824a..98cccd14 100644 --- a/ldb/dbcache.go +++ b/ldb/dbcache.go @@ -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.