Skip to content

Commit

Permalink
Flow through validateBehavior
Browse files Browse the repository at this point in the history
  • Loading branch information
ScreamingHawk committed Dec 12, 2024
1 parent 2868a81 commit ad361cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/core/src/v2/signature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ export async function recoverTopology(
): Promise<Topology> {
if (isUnrecoveredNode(unrecovered)) {
const [left, right] = await Promise.all([
recoverTopology(unrecovered.left, subdigest, provider),
recoverTopology(unrecovered.right, subdigest, provider)
recoverTopology(unrecovered.left, subdigest, provider, validateBehavior),
recoverTopology(unrecovered.right, subdigest, provider, validateBehavior)
])

return { left, right }
Expand All @@ -242,7 +242,7 @@ export async function recoverTopology(
return {
weight: unrecovered.weight,
threshold: unrecovered.threshold,
tree: await recoverTopology(unrecovered.tree, subdigest, provider)
tree: await recoverTopology(unrecovered.tree, subdigest, provider, validateBehavior)
}
}

Expand Down

0 comments on commit ad361cc

Please sign in to comment.