Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
douglance committed Dec 12, 2024
1 parent 1b3b3a6 commit 2d40f71
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/arb-token-bridge-ui/src/util/WithdrawalUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,9 @@ export function getConfirmationTime(chainId: number) {
if (fastWithdrawalActive) {
confirmationTimeInSeconds = fastWithdrawalTime / 1000
} else {
// the block time is always base chain's block time regardless of withdrawing from L3 to L2 or from L2 to L1
// and similarly, the confirm period blocks is always the number of blocks on the base chain
// Calculate confirmation period using block time from root chain:
// - Ethereum mainnet for Arbitrum chains
// - Parent chain for Base chains
const blockNumberReferenceChainId = getBlockNumberReferenceChainIdByChainId(
{ chainId }
)
Expand Down

0 comments on commit 2d40f71

Please sign in to comment.