[Wallet][RPC] add abandoned status to listtransactions

This commit is contained in:
Jonas Schnelli 2016-03-17 17:46:06 +01:00
parent 3bdc583b3f
commit 263de3d1c8
No known key found for this signature in database
GPG key ID: 29D4BCB6416F53EC

View file

@ -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);
}
}