Remove unused wallet pointer from NotifyTransactionChanged signal

This commit is contained in:
MarcoFalke
2021-06-28 10:25:29 +02:00
parent 8cdf91735f
commit faf3640303
4 changed files with 8 additions and 9 deletions

View File

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