aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.h
diff options
context:
space:
mode:
authorJaSK <temp@temp.temp>2014-04-09 17:20:07 +0200
committerJaSK <temp@temp.temp>2014-07-02 15:48:38 +0200
commit952877e01c1045298fd51d1152d96c304d4cf2a4 (patch)
tree5cfd0dcb93f537886f0babf683e0953d8a2786b9 /src/wallet.h
parent83f3543f20348aa718620314e7deb37bd0f71b90 (diff)
downloadbitcoin-952877e01c1045298fd51d1152d96c304d4cf2a4.tar.xz
Showing 'involvesWatchonly' property for transactions returned by 'listtransactions' and 'listsinceblock'.
It is only appended when the transaction involves a watchonly address.
Diffstat (limited to 'src/wallet.h')
-rw-r--r--src/wallet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet.h b/src/wallet.h
index b11e6c662e..3453d23d97 100644
--- a/src/wallet.h
+++ b/src/wallet.h
@@ -761,9 +761,9 @@ public:
void GetAccountAmounts(const std::string& strAccount, int64_t& nReceived,
int64_t& nSent, int64_t& nFee, const isminefilter& filter=(MINE_SPENDABLE|MINE_WATCH_ONLY)) const;
- bool IsFromMe() const
+ bool IsFromMe(const isminefilter& filter=(MINE_SPENDABLE|MINE_WATCH_ONLY)) const
{
- return (GetDebit() > 0);
+ return (GetDebit(filter) > 0);
}
bool IsTrusted() const