Merge #7739: [Wallet][RPC] add abandoned status to listtransactions

263de3d [Wallet][RPC] add abandoned status to listtransactions (Jonas Schnelli)
This commit is contained in:
Wladimir J. van der Laan 2016-03-23 16:30:01 +01:00
commit 09a079e648
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6

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