Skip to content

Commit 8d651ae

Browse files
author
MarcoFalke
committed
Merge #12932: wallet: Remove redundant lambda function arg in handleTransactionChanged
9b9d717 wallet: Remove redundant lambda function arg in handleTransactionChanged (Wladimir J. van der Laan) Pull request description: Makes the build warning-clean again here: bitcoin/src/interfaces/wallet.cpp:425:18: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] [fn, this](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); })); ^ Tree-SHA512: 82362c8fb3638246a6c3b28998165eed8a6490f9e13cf2741fb2776ef7f82a1c0bb5ea1f58b7ff842bd59c9830f59f5a478fb63860693055c4d8dd72a94d8a5a
2 parents 5ca1509 + 9b9d717 commit 8d651ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interfaces/wallet.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class WalletImpl : public Wallet
422422
std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
423423
{
424424
return MakeHandler(m_wallet.NotifyTransactionChanged.connect(
425-
[fn, this](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); }));
425+
[fn](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); }));
426426
}
427427
std::unique_ptr<Handler> handleWatchOnlyChanged(WatchOnlyChangedFn fn) override
428428
{

0 commit comments

Comments
 (0)