diff --git a/src/validation.cpp b/src/validation.cpp index 6dff36649c44e..30ee85cf73e1d 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -10,7 +10,6 @@ #include #include -#include #include #include #include @@ -5430,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);