@@ -1261,21 +1261,21 @@ static void MaybePushAddress(UniValue & entry, const CTxDestination &dest)
1261
1261
/* *
1262
1262
* List transactions based on the given criteria.
1263
1263
*
1264
- * @param pwallet The wallet.
1265
- * @param wtx The wallet transaction.
1266
- * @param nMinDepth The minimum confirmation depth.
1267
- * @param fLong Whether to include the JSON version of the transaction.
1268
- * @param ret The UniValue into which the result is stored.
1269
- * @param filter The "is mine" filter bool .
1270
- * @param filter_label Optional label string to filter incoming transactions.
1264
+ * @param pwallet The wallet.
1265
+ * @param wtx The wallet transaction.
1266
+ * @param nMinDepth The minimum confirmation depth.
1267
+ * @param fLong Whether to include the JSON version of the transaction.
1268
+ * @param ret The UniValue into which the result is stored.
1269
+ * @param filter_ismine The "is mine" filter flags .
1270
+ * @param filter_label Optional label string to filter incoming transactions.
1271
1271
*/
1272
- static void ListTransactions (interfaces::Chain::Lock& locked_chain, CWallet* const pwallet, const CWalletTx& wtx, int nMinDepth, bool fLong , UniValue& ret, const isminefilter& filter , const std::string* filter_label)
1272
+ static void ListTransactions (interfaces::Chain::Lock& locked_chain, CWallet* const pwallet, const CWalletTx& wtx, int nMinDepth, bool fLong , UniValue& ret, const isminefilter& filter_ismine , const std::string* filter_label)
1273
1273
{
1274
1274
CAmount nFee;
1275
1275
std::list<COutputEntry> listReceived;
1276
1276
std::list<COutputEntry> listSent;
1277
1277
1278
- wtx.GetAmounts (listReceived, listSent, nFee, filter );
1278
+ wtx.GetAmounts (listReceived, listSent, nFee, filter_ismine );
1279
1279
1280
1280
bool involvesWatchonly = wtx.IsFromMe (ISMINE_WATCH_ONLY);
1281
1281
0 commit comments