Disable Sprout anchor check (#3206)
Co-authored-by: teor <teor@riseup.net> Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
This commit is contained in:
parent
a09169d4bb
commit
bd9c954667
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue