wallet: Remove redundant lambda function arg in handleTransactionChanged

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); }));
                     ^
This commit is contained in:
Wladimir J. van der Laan 2018-04-10 15:21:41 +02:00
parent dd1ca9e0b3
commit 9b9d717263
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ public:
std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
{
return MakeHandler(m_wallet.NotifyTransactionChanged.connect(
[fn, this](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); }));
[fn](CWallet*, const uint256& txid, ChangeType status) { fn(txid, status); }));
}
std::unique_ptr<Handler> handleWatchOnlyChanged(WatchOnlyChangedFn fn) override
{