From 18b3e86179ce32cb42be6f4ea42764b03e0bfa2c Mon Sep 17 00:00:00 2001 From: David Hill Date: Mon, 23 Sep 2013 15:39:53 -0400 Subject: [PATCH] FetchTxAllBySha needs to return err to the caller. ok drahn@ --- ldb/dbcache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldb/dbcache.go b/ldb/dbcache.go index 6a9b824a6..98cccd14f 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.