Remove unused wallet pointer from NotifyAddressBookChanged

This commit is contained in:
MarcoFalke
2021-06-28 10:51:32 +02:00
parent faf3640303
commit 8888cf45f5
3 changed files with 10 additions and 10 deletions

View File

@@ -475,8 +475,8 @@ public:
std::unique_ptr<Handler> handleAddressBookChanged(AddressBookChangedFn fn) override
{
return MakeHandler(m_wallet->NotifyAddressBookChanged.connect(
[fn](CWallet*, const CTxDestination& address, const std::string& label, bool is_mine,
const std::string& purpose, ChangeType status) { fn(address, label, is_mine, purpose, status); }));
[fn](const CTxDestination& address, const std::string& label, bool is_mine,
const std::string& purpose, ChangeType status) { fn(address, label, is_mine, purpose, status); }));
}
std::unique_ptr<Handler> handleTransactionChanged(TransactionChangedFn fn) override
{