replacing transactions in the mempool is normal behavior, not a warning (#14089)

This commit is contained in:
Arvid Norberg 2022-12-10 03:28:43 +01:00 committed by GitHub
parent d71c8c75a9
commit cf1ccdc554
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -511,7 +511,7 @@ class MempoolManager:
for c_sb_id in self.mempool.removals[conflicting.name()]:
sb: MempoolItem = self.mempool.spends[c_sb_id]
conflicting_pool_items[sb.name] = sb
log.warning(f"Conflicting pool items: {len(conflicting_pool_items)}")
log.debug(f"Replace attempted. number of MempoolItems: {len(conflicting_pool_items)}")
if not self.can_replace(conflicting_pool_items, removal_record_dict, fees, fees_per_cost):
return Err.MEMPOOL_CONFLICT, potential, []