Skip to content

Commit

Permalink
fix tx building example code
Browse files Browse the repository at this point in the history
  • Loading branch information
arobsn committed Nov 11, 2024
1 parent ef1956f commit d2d96f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function nav(): DefaultTheme.NavItem[] {
items: [
{
text: "Fleet SDK",
link: "https://github.com/fleet-sdk/fleet/blob/master/CONTRIBUTING.md",
link: "https://github.com/fleet-sdk/fleet/blob/master/CONTRIBUTING.md"
},
{
text: "Documentation",
Expand Down
2 changes: 1 addition & 1 deletion docs/wallet-interaction.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const unsignedTransaction = new TransactionBuilder(creationHeight)
.sendChangeTo(changeAddress)
.payMinFee()
.build()
.toPlainObject();
.toEIP12Object();

const signedTransaction = await ergo.sign_tx(unsignedTransaction); // [!code focus]
```
Expand Down

0 comments on commit d2d96f7

Please sign in to comment.