Skip to content

Commit 04a6a87

Browse files
committed
fix getting block hash
1 parent d4bebe1 commit 04a6a87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/getBlock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ async function main() {
1414

1515
let block = await pxe.getBlock(1);
1616
console.log(block)
17-
console.log(block?.hash())
17+
console.log(await block?.hash())
1818
}
1919

2020
main();

0 commit comments

Comments
 (0)