Skip to content

Commit

Permalink
Merge pull request #104 from javiersuweijie/fix/classic-gas-tax
Browse files Browse the repository at this point in the history
fix: always load sequence on start
  • Loading branch information
tuky191 authored Aug 27, 2024
2 parents 227d01f + fab7e6a commit 47dcff2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions eth/src/Shuttle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,7 @@ class Shuttle {
}

async startMonitoring() {
const sequence = await this.getAsync(KEY_NEXT_SEQUENCE);
if (sequence && sequence !== '') {
this.sequence = parseInt(sequence);
} else {
this.sequence = await this.relayer.loadSequence();
}
this.sequence = await this.relayer.loadSequence();

// Graceful shutdown
let shutdown = false;
Expand Down

0 comments on commit 47dcff2

Please sign in to comment.