diff options
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/handler.cpp | 1 | ||||
-rw-r--r-- | src/interfaces/wallet.cpp | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/interfaces/handler.cpp b/src/interfaces/handler.cpp index 1443fe9f18..8e45faa2a5 100644 --- a/src/interfaces/handler.cpp +++ b/src/interfaces/handler.cpp @@ -7,7 +7,6 @@ #include <util.h> #include <boost/signals2/connection.hpp> -#include <memory> #include <utility> namespace interfaces { diff --git a/src/interfaces/wallet.cpp b/src/interfaces/wallet.cpp index ecc073f9bc..3e6f0d6728 100644 --- a/src/interfaces/wallet.cpp +++ b/src/interfaces/wallet.cpp @@ -22,8 +22,6 @@ #include <wallet/feebumper.h> #include <wallet/wallet.h> -#include <memory> - namespace interfaces { namespace { @@ -425,7 +423,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 { |