mirror of
https://github.com/LBRYFoundation/lbcd.git
synced 2025-08-23 17:47:24 +00:00
mining: Correctly format log messages. (#685)
Type feePerKB is an int64 and therefore is not correctly interpreted by format verb f.
This commit is contained in:
parent
1b23410214
commit
0d7f526600
1 changed files with 2 additions and 2 deletions
|
@ -609,7 +609,7 @@ mempoolLoop:
|
||||||
prioItem.feePerKB < int64(policy.TxMinFreeFee) &&
|
prioItem.feePerKB < int64(policy.TxMinFreeFee) &&
|
||||||
blockPlusTxSize >= policy.BlockMinSize {
|
blockPlusTxSize >= policy.BlockMinSize {
|
||||||
|
|
||||||
minrLog.Tracef("Skipping tx %s with feePerKB %.2f "+
|
minrLog.Tracef("Skipping tx %s with feePerKB %d "+
|
||||||
"< TxMinFreeFee %d and block size %d >= "+
|
"< TxMinFreeFee %d and block size %d >= "+
|
||||||
"minBlockSize %d", tx.Sha(), prioItem.feePerKB,
|
"minBlockSize %d", tx.Sha(), prioItem.feePerKB,
|
||||||
policy.TxMinFreeFee, blockPlusTxSize,
|
policy.TxMinFreeFee, blockPlusTxSize,
|
||||||
|
@ -682,7 +682,7 @@ mempoolLoop:
|
||||||
txFees = append(txFees, prioItem.fee)
|
txFees = append(txFees, prioItem.fee)
|
||||||
txSigOpCounts = append(txSigOpCounts, numSigOps)
|
txSigOpCounts = append(txSigOpCounts, numSigOps)
|
||||||
|
|
||||||
minrLog.Tracef("Adding tx %s (priority %.2f, feePerKB %.2f)",
|
minrLog.Tracef("Adding tx %s (priority %.2f, feePerKB %d)",
|
||||||
prioItem.tx.Sha(), prioItem.priority, prioItem.feePerKB)
|
prioItem.tx.Sha(), prioItem.priority, prioItem.feePerKB)
|
||||||
|
|
||||||
// Add transactions which depend on this one (and also do not
|
// Add transactions which depend on this one (and also do not
|
||||||
|
|
Loading…
Add table
Reference in a new issue