mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
Merge #7739: [Wallet][RPC] add abandoned status to listtransactions
263de3d
[Wallet][RPC] add abandoned status to listtransactions (Jonas Schnelli)
This commit is contained in:
commit
09a079e648
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue