Skip to content

Commit

Permalink
default blocktime to 12sec
Browse files Browse the repository at this point in the history
  • Loading branch information
brtkx committed Aug 21, 2023
1 parent af42cc1 commit 0f67d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/inbox/inbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export class InboxTools {
let diffBlocks = 10
if ((this.l1Network as L1Network).blockTime) {
diffBlocks = Math.max(
Math.ceil(diff / (this.l1Network as L1Network).blockTime),
Math.ceil(diff / (this.l1Network as L1Network).blockTime) ?? 12,
10
)
}
Expand Down

0 comments on commit 0f67d96

Please sign in to comment.