Disable Sprout anchor check
@@ -72,9 +72,12 @@ pub(crate) fn anchors_refer_to_earlier_treestates(
&& !finalized_state.contains_sprout_anchor(&joinsplit.anchor)
&& (!interstitial_roots.contains(&joinsplit.anchor))
{
- return Err(ValidateContextError::UnknownSproutAnchor {
- anchor: joinsplit.anchor,
- });
+ // TODO: some block after ~1_200_000 is reaching here.
+ // Restore after finding the cause and fixing it.
+ // return Err(ValidateContextError::UnknownSproutAnchor {
+ // anchor: joinsplit.anchor,
+ // });
+ tracing::error!(?joinsplit.anchor, ?prepared.height, ?prepared.hash, "failed to find sprout anchor")
}
tracing::debug!(?joinsplit.anchor, "validated sprout anchor");
