diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-04-24 14:51:15 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-04-24 14:57:43 +0200 |
commit | 585b5dba745a25caf1cc20fdb751ff7cb3762bf0 (patch) | |
tree | b075cb9ec48d9a3c201d6092a906faac9dbfe1c5 /src/wallet/rpcwallet.cpp | |
parent | c2713042a3a816bbb1b2ac5b884bee957ad33b37 (diff) | |
parent | f89b092d756b2c6d98390507c71db372f66c3f59 (diff) | |
download | bitcoin-585b5dba745a25caf1cc20fdb751ff7cb3762bf0.tar.xz |
Merge pull request #6036
f89b092 add rpc test for listunspents support for zero value txouts (Jonas Schnelli)
219953c Show zero value txouts in listunspent. (Gregory Maxwell)
Diffstat (limited to 'src/wallet/rpcwallet.cpp')
-rw-r--r-- | src/wallet/rpcwallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp index e03cd5b84e..c31c09d922 100644 --- a/src/wallet/rpcwallet.cpp +++ b/src/wallet/rpcwallet.cpp @@ -2301,7 +2301,7 @@ Value listunspent(const Array& params, bool fHelp) vector<COutput> vecOutputs; assert(pwalletMain != NULL); LOCK2(cs_main, pwalletMain->cs_wallet); - pwalletMain->AvailableCoins(vecOutputs, false); + pwalletMain->AvailableCoins(vecOutputs, false, NULL, true); BOOST_FOREACH(const COutput& out, vecOutputs) { if (out.nDepth < nMinDepth || out.nDepth > nMaxDepth) continue; |