Skip to content

Commit d5bfe00

Browse files
chore(txm): await onNewBlock on start
1 parent ee71dc0 commit d5bfe00

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/txm/lib/GasPriceOracle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class GasPriceOracle {
3636
const block = await this.txmgr.viemClient.getBlock({
3737
blockTag: "latest",
3838
})
39-
this.onNewBlock(block)
39+
await this.onNewBlock(block)
4040
}
4141

4242
private async onNewBlock(block: LatestBlock) {

0 commit comments

Comments
 (0)