mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-21 13:10:08 +01:00
refactor: Use uint64_t over size_t for serialize corruption check in fees.dat
This commit is contained in:
@@ -423,7 +423,7 @@ void TxConfirmStats::Read(AutoFile& filein, size_t numBuckets)
|
||||
// Read data file and do some very basic sanity checking
|
||||
// buckets and bucketMap are not updated yet, so don't access them
|
||||
// If there is a read failure, we'll just discard this entire object anyway
|
||||
size_t maxConfirms, maxPeriods;
|
||||
uint64_t maxConfirms, maxPeriods;
|
||||
|
||||
// The current version will store the decay with each individual TxConfirmStats and also keep a scale factor
|
||||
filein >> Using<EncodedDoubleFormatter>(decay);
|
||||
|
||||
Reference in New Issue
Block a user