mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 09:38:53 +00:00
Merge pull request #6233
8a27645
blockchain: fix flushing txes from the txpool (moneromooo-monero)
This commit is contained in:
commit
d7aeb5a9f8
@ -3668,7 +3668,7 @@ bool Blockchain::flush_txes_from_pool(const std::vector<crypto::hash> &txids)
|
|||||||
uint64_t fee;
|
uint64_t fee;
|
||||||
bool relayed, do_not_relay, double_spend_seen, pruned;
|
bool relayed, do_not_relay, double_spend_seen, pruned;
|
||||||
MINFO("Removing txid " << txid << " from the pool");
|
MINFO("Removing txid " << txid << " from the pool");
|
||||||
if(!m_tx_pool.have_tx(txid, relay_category::all) && !m_tx_pool.take_tx(txid, tx, txblob, tx_weight, fee, relayed, do_not_relay, double_spend_seen, pruned))
|
if(m_tx_pool.have_tx(txid, relay_category::all) && !m_tx_pool.take_tx(txid, tx, txblob, tx_weight, fee, relayed, do_not_relay, double_spend_seen, pruned))
|
||||||
{
|
{
|
||||||
MERROR("Failed to remove txid " << txid << " from the pool");
|
MERROR("Failed to remove txid " << txid << " from the pool");
|
||||||
res = false;
|
res = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user