Skip to content

Commit

Permalink
CTxMemPool::WriteFeeEstimates: fix version required to read
Browse files Browse the repository at this point in the history
KomodoPlatform/komodo#523

After these changes version required to read in fee_estimates.dat
will be set to 0x111d4 (70100) by default, instead of wrong (legacy
codebase) 109900 value. So, the error ERROR: CTxMemPool::ReadFeeEstimates()
on wallet startup, mentioned above wouldn't appear.

Delete of existing fee_estimates.dat before upgrade to the new version
of wallet with with commit included - also could be recommended.
  • Loading branch information
DeckerSU committed Jan 27, 2022
1 parent 72aa41e commit eccb8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/txmempool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ CTxMemPool::WriteFeeEstimates(CAutoFile& fileout) const
{
try {
LOCK(cs);
fileout << 109900; // version required to read: 0.10.99 or later
fileout << 70100; // version required to read: 0.7.1.0 or later
fileout << CLIENT_VERSION; // version that wrote the file
minerPolicyEstimator->Write(fileout);
}
Expand Down

0 comments on commit eccb8f7

Please sign in to comment.