Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
zkbenny committed Jul 23, 2024
1 parent dc57607 commit 25c9b93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/zklinkNova/scripts/getTxStatus.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ task('getTxStatus', 'Get the tx status of nova')

// After the nova block finalize tx is confirmed on linea, we continue to check the status of Linea's tx finalized on Ethereum
// Linea deployed a rollup contract on Ethereum and has a readable interface `function currentL2BlockNumber() external view`
// When the number of a block on Linea is greater or equal to the value of `currentL2BlockNumber` it means the block is finalized on Ethereum
// When the number of a block on Linea is smaller or equal to the value of `currentL2BlockNumber` it means the block is finalized on Ethereum
const ethereumChainId = (await ethereumProvider.getNetwork()).chainId;
const network = ethereumChainId === BigInt(1) ? 'linea-mainnet' : 'linea-sepolia';
const lineaSDK = new LineaSDK({
Expand Down

0 comments on commit 25c9b93

Please sign in to comment.