Skip to content

Commit

Permalink
Fix error in code snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
dasanra committed Nov 30, 2023
1 parent a175bad commit 86237c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion safe-core-sdk/protocol-kit/reference/migrating/v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,8 @@ const options = {
nonce: '',
safeTxGas: ''
}
const safeTransaction = protocolKit.createTransaction({ [safeTransactionData], options })
const safeTransaction = protocolKit.createTransaction({
transactions: [safeTransactionData],
options
})
```

0 comments on commit 86237c5

Please sign in to comment.