aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-03-23 16:30:01 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-03-23 16:30:18 +0100
commit09a079e6484a1c0ba29dc5dcc3f1501eb22c0ac5 (patch)
treeb253c9ff7825fa0af3bf8ca6031be0b2bd11fa6c
parent3bdc583b3f072d0d23b1fc858890fd1acaff5914 (diff)
parent263de3d1c80c8a0aa54acd4d6708a4078d479b70 (diff)
Merge #7739: [Wallet][RPC] add abandoned status to listtransactions
263de3d [Wallet][RPC] add abandoned status to listtransactions (Jonas Schnelli)
-rw-r--r--src/wallet/rpcwallet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/rpcwallet.cpp b/src/wallet/rpcwallet.cpp
index 759f894ccb..8f7c649839 100644
--- a/src/wallet/rpcwallet.cpp
+++ b/src/wallet/rpcwallet.cpp
@@ -1346,6 +1346,7 @@ void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDe
entry.push_back(Pair("fee", ValueFromAmount(-nFee)));
if (fLong)
WalletTxToJSON(wtx, entry);
+ entry.push_back(Pair("abandoned", wtx.isAbandoned()));
ret.push_back(entry);
}
}