Skip to content

Commit

Permalink
Merge pull request #166 from user-wiz/wiz/fix-withdrawal-tx-example
Browse files Browse the repository at this point in the history
Fix withdrawal tx example in docs
  • Loading branch information
zencephalon authored Nov 29, 2023
2 parents d84e55d + e7e1221 commit 8036e2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions site/docs/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,9 @@ const secondsToFinalize = await l1PublicClient.getSecondsToFinalizable({

const { withdrawalHash, ...withdrawal } = withdrawalMessages.messages[0]
const finalizeTxHash = await l1WalletClient.writeFinalizeWithdrawalTransaction({
withdrawal,
...baseGoerliAddresses,
portal: baseGoerliAddresses.portal,
args: { withdrawal },
account,
})
console.log('finalizeTxHash', finalizeTxHash)
```
Expand Down

0 comments on commit 8036e2d

Please sign in to comment.