mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #6028
174a6ac
tx_pool: fix divide by 0 in log (moneromooo-monero)
This commit is contained in:
commit
86d085e988
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ namespace cryptonote
|
||||||
|
|
||||||
++m_cookie;
|
++m_cookie;
|
||||||
|
|
||||||
MINFO("Transaction added to pool: txid " << id << " weight: " << tx_weight << " fee/byte: " << (fee / (double)tx_weight));
|
MINFO("Transaction added to pool: txid " << id << " weight: " << tx_weight << " fee/byte: " << (fee / (double)(tx_weight ? tx_weight : 1)));
|
||||||
|
|
||||||
prune(m_txpool_max_weight);
|
prune(m_txpool_max_weight);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue