Skip to content

Commit

Permalink
fix: increase max distance from gcd
Browse files Browse the repository at this point in the history
  • Loading branch information
sander2 committed Feb 19, 2025
1 parent 3d2ff62 commit 463e2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/src/relay/FullRelayWithVerify.sol
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ contract FullRelayWithVerify is FullRelay {
bytes32 _headerHash = _header.hash256();
bytes32 _GCD = getLastReorgCommonAncestor();

require(_isAncestor(_headerHash, _GCD, 240), "GCD does not confirm header");
require(_isAncestor(_headerHash, _GCD, 2048), "GCD does not confirm header");
require(_getConfs(_headerHash) >= _numConfs, "Insufficient confirmations");
}

Expand Down

0 comments on commit 463e2c0

Please sign in to comment.