aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2016-03-17 17:46:06 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2016-03-23 15:49:53 +0100
commit263de3d1c80c8a0aa54acd4d6708a4078d479b70 (patch)
treeb253c9ff7825fa0af3bf8ca6031be0b2bd11fa6c
parent3bdc583b3f072d0d23b1fc858890fd1acaff5914 (diff)
[Wallet][RPC] add abandoned status to listtransactions
-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);
}
}