mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 14:47:15 -07:00
Merge pull request #10825
b1f4561 wallet2: remove unused pool tx removed callback (selsta)
ACKs: tobtoht, thomasbuilds
This commit is contained in:
@@ -3592,8 +3592,6 @@ void wallet2::remove_obsolete_pool_txs(const std::unordered_set<crypto::hash> &t
|
||||
{
|
||||
MDEBUG("Removing " << txid << " from unconfirmed payments");
|
||||
m_unconfirmed_payments.erase(pit);
|
||||
if (0 != m_callback)
|
||||
m_callback->on_pool_tx_removed(txid);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -137,8 +137,6 @@ private:
|
||||
virtual boost::optional<epee::wipeable_string> on_device_pin_request() { return boost::none; }
|
||||
virtual boost::optional<epee::wipeable_string> on_device_passphrase_request(bool & on_device) { on_device = true; return boost::none; }
|
||||
virtual void on_device_progress(const hw::device_progress& event) {};
|
||||
// Common callbacks
|
||||
virtual void on_pool_tx_removed(const crypto::hash &txid) {}
|
||||
virtual ~i_wallet2_callback() {}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user