From 4d0771c200018c0e09c34eb25abae20f975806ac Mon Sep 17 00:00:00 2001 From: Karl Semich <0xloem@gmail.com> Date: Tue, 21 Apr 2020 21:45:16 -0400 Subject: [PATCH] include watchOnly transactions in wallet transaction enumeration --- wallet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet.go b/wallet.go index 7c10691..4b38dc7 100644 --- a/wallet.go +++ b/wallet.go @@ -329,7 +329,7 @@ func (w *SPVWallet) Balance() (confirmed, unconfirmed int64) { func (w *SPVWallet) Transactions() ([]wallet.Txn, error) { height, _ := w.ChainTip() - txns, err := w.txstore.Txns().GetAll(false) + txns, err := w.txstore.Txns().GetAll(true) if err != nil { return txns, err }