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:
parent
dd1ca9e0b3
commit
9b9d717263
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ public:
|
||||||
std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
|
std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
|
||||||
{
|
{
|
||||||
return MakeHandler(m_wallet.NotifyTransactionChanged.connect(
|
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
|
std::unique_ptr<Handler> handleWatchOnlyChanged(WatchOnlyChangedFn fn) override
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue