Skip to content

Commit

Permalink
Don't hold ocean invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo committed Oct 30, 2024
1 parent ae292d4 commit c199613
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3776,7 +3776,7 @@ bool CChainState::DisconnectTip(CValidationState &state,
if (gArgs.GetBoolArg("-oceanarchive", DEFAULT_OCEAN_INDEXER_ENABLED) ||
gArgs.GetBoolArg("-expr-oceanarchive", DEFAULT_OCEAN_INDEXER_ENABLED)) {
const UniValue b = blockToJSON(mnview, block, pindexDelete, pindexDelete, true, 2);
XResultThrowOnErr(ocean_invalidate_block(result, b.write()));
XResultStatusLogged(ocean_invalidate_block(result, b.write()));
}

bool flushed = view.Flush() && mnview.Flush();
Expand Down

0 comments on commit c199613

Please sign in to comment.