Browse Source

[Wallet][RPC] add abandoned status to listtransactions

0.13
Jonas Schnelli 9 years ago
parent
commit
263de3d1c8
No known key found for this signature in database
GPG Key ID: 29D4BCB6416F53EC
  1. 1
      src/wallet/rpcwallet.cpp

1
src/wallet/rpcwallet.cpp

@ -1346,6 +1346,7 @@ void ListTransactions(const CWalletTx& wtx, const string& strAccount, int nMinDe @@ -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…
Cancel
Save