Skip to content

Commit d2d96f7

Browse files
committed
fix tx building example code
1 parent ef1956f commit d2d96f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/.vitepress/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function nav(): DefaultTheme.NavItem[] {
3636
items: [
3737
{
3838
text: "Fleet SDK",
39-
link: "https://github.com/fleet-sdk/fleet/blob/master/CONTRIBUTING.md",
39+
link: "https://github.com/fleet-sdk/fleet/blob/master/CONTRIBUTING.md"
4040
},
4141
{
4242
text: "Documentation",

docs/wallet-interaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ const unsignedTransaction = new TransactionBuilder(creationHeight)
222222
.sendChangeTo(changeAddress)
223223
.payMinFee()
224224
.build()
225-
.toPlainObject();
225+
.toEIP12Object();
226226

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

0 commit comments

Comments
 (0)