Skip to content

Commit 56371b9

Browse files
authored
fix: block number (#2870)
1 parent 80370c9 commit 56371b9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/services/GovernanceService.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export class GovernanceService {
7979
const provider = this.getProvider(govChainId);
8080
const block = await provider.getBlock(blockHash);
8181
if (block) {
82-
options.blockTag = block.number.toString();
82+
options.blockTag = `0x${block.number.toString(16)}`;
8383
}
8484
}
8585

0 commit comments

Comments
 (0)