mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
ensure we use our format macros to avoid compilation warnings
- fixes 2 warnings I observed while compiling on Windows with MinGW
This commit is contained in:
parent
0c42ee8130
commit
42152c3da9
@ -1610,7 +1610,7 @@ bool CBlock::ConnectBlock(CBlockIndex* pindex, CCoinsViewCache &view, bool fJust
|
||||
}
|
||||
|
||||
if (vtx[0].GetValueOut() > GetBlockValue(pindex->nHeight, nFees))
|
||||
return error("ConnectBlock() : coinbase pays too much (actual=%lld vs limit=%lld)", (long long)vtx[0].GetValueOut(), (long long)GetBlockValue(pindex->nHeight, nFees));
|
||||
return error("ConnectBlock() : coinbase pays too much (actual=%"PRI64u" vs limit=%"PRI64u")", vtx[0].GetValueOut(), GetBlockValue(pindex->nHeight, nFees));
|
||||
|
||||
if (fJustCheck)
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user