Skip to content

Commit d02b33f

Browse files
authored
fix log order (#37)
fixes order of logged variables when expected bitsize is not matching
1 parent e2fc94f commit d02b33f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ bool CheckProofOfWork(const CBlockHeader& block, const Consensus::Params& params
144144
const uint16_t expected_bitsize = (block.nBits >> 1) + (block.nBits & 1);
145145

146146
if (nP1_bitsize != expected_bitsize) {
147-
LogPrintf("pow error: nP1 expected bitsize=%s, actual size=%s\n", nP1_bitsize, expected_bitsize);
147+
LogPrintf("pow error: nP1 expected bitsize=%s, actual size=%s\n", expected_bitsize, nP1_bitsize);
148148
mpz_clear(n);
149149
mpz_clear(nP1);
150150
mpz_clear(nP2);

0 commit comments

Comments
 (0)