From 03812fefe49388a98a6792c5cccd17dd1771ae68 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 7 Sep 2016 23:36:40 -0700 Subject: [PATCH] Fix incorrect default value for argument of GetFilteredNotes. --- src/wallet/wallet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index b15d05490..1bfb75792 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -904,8 +904,8 @@ public: /** Set whether this wallet broadcasts transactions. */ void SetBroadcastTransactions(bool broadcast) { fBroadcastTransactions = broadcast; } - /* Find unspent notes, filter by payment address, min depth */ - bool GetFilteredNotes(std::vector & outEntries, std::string address, size_t minDepth, bool ignoreSpent=false); + /* Find notes filtered by payment address, min depth, ability to spend */ + bool GetFilteredNotes(std::vector & outEntries, std::string address, size_t minDepth, bool ignoreSpent=true); };