refactor: Use uint64_t over size_t for serialize corruption check in fees.dat
This commit is contained in:
1 file changed
+1
-1
@@ -423,7 +423,7 @@ void TxConfirmStats::Read(AutoFile& filein, size_t numBuckets)
|
|||||||
// Read data file and do some very basic sanity checking
|
// Read data file and do some very basic sanity checking
|
||||||
// buckets and bucketMap are not updated yet, so don't access them
|
// 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
|
// 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
|
// The current version will store the decay with each individual TxConfirmStats and also keep a scale factor
|
||||||
filein >> Using<EncodedDoubleFormatter>(decay);
|
filein >> Using<EncodedDoubleFormatter>(decay);
|
||||||
|
|||||||
Reference in new issue
Block a user