mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-31 10:41:08 +00:00
refactor: Use uint64_t over size_t for serialize corruption check in fees.dat
This commit is contained in:
parent
516ae5ede4
commit
fa1d17d56c
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user