diff options
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 47355b0850..5b3a099dfc 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -10,7 +10,6 @@ #include <arith_uint256.h> #include <chain.h> -#include <chainparams.h> #include <checkqueue.h> #include <consensus/amount.h> #include <consensus/consensus.h> @@ -22,6 +21,7 @@ #include <flatfile.h> #include <fs.h> #include <hash.h> +#include <kernel/chainparams.h> #include <kernel/mempool_entry.h> #include <logging.h> #include <logging/timer.h> @@ -5429,7 +5429,7 @@ SnapshotCompletionResult ChainstateManager::MaybeCompleteSnapshotValidation( CCoinsViewDB& ibd_coins_db = m_ibd_chainstate->CoinsDB(); m_ibd_chainstate->ForceFlushStateToDisk(); - auto maybe_au_data = ExpectedAssumeutxo(curr_height, ::Params()); + auto maybe_au_data = ExpectedAssumeutxo(curr_height, m_options.chainparams); if (!maybe_au_data) { LogPrintf("[snapshot] assumeutxo data not found for height " /* Continued */ "(%d) - refusing to validate snapshot\n", curr_height); |