mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 15:19:07 +01:00
Bugfix: %-12I64d is not valid and causes the parameter to be skipped, use %12"PRI64d" instead
This commit is contained in:
committed by
Gregory Maxwell
parent
46c08874aa
commit
82e6b92b0a
@@ -3188,7 +3188,7 @@ CBlock* CreateNewBlock(CReserveKey& reservekey)
|
||||
dPriority += (double)nValueIn * nConf;
|
||||
|
||||
if (fDebug && GetBoolArg("-printpriority"))
|
||||
printf("priority nValueIn=%-12I64d nConf=%-5d dPriority=%-20.1f\n", nValueIn, nConf, dPriority);
|
||||
printf("priority nValueIn=%-12"PRI64d" nConf=%-5d dPriority=%-20.1f\n", nValueIn, nConf, dPriority);
|
||||
}
|
||||
|
||||
// Priority is sum(valuein * age) / txsize
|
||||
|
||||
Reference in New Issue
Block a user