Skip to content

Commit

Permalink
chore: fix typos in gov doc
Browse files Browse the repository at this point in the history
  • Loading branch information
HinsonSIDAN committed Feb 3, 2025
1 parent 28ad7d0 commit e1276b8
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ function Left() {

function Right() {
const { wallet, connected } = useWallet();
const [drepid, setDrepid] = useState<string>("drep1yv4uesaj92wk8ljlsh4p7jzndnzrflchaz5fzug3zxg4naqkpeas3");
const [drepid, setDrepid] = useState<string>(
"drep1yv4uesaj92wk8ljlsh4p7jzndnzrflchaz5fzug3zxg4naqkpeas3",
);

async function runDemo() {
if (!connected) throw new Error("Wallet not connected");
Expand Down Expand Up @@ -128,8 +130,8 @@ function Right() {
codeSnippet += ` },\n`;
codeSnippet += ` rewardAddress,\n`;
codeSnippet += ` )\n`;
codeSnippet += ` .changeAddress(changeAddress);\n`;
codeSnippet += ` .selectUtxos(utxos, "keepRelevant", "10000000")\n`;
codeSnippet += ` .changeAddress(changeAddress)\n`;
codeSnippet += ` .selectUtxosFrom(utxos, "keepRelevant", "10000000")\n`;
codeSnippet += `\n`;
codeSnippet += `const unsignedTx = await txBuilder.complete();\n`;
codeSnippet += `const signedTx = await wallet.signTx(unsignedTx);\n`;
Expand Down

0 comments on commit e1276b8

Please sign in to comment.