From 6ec37778d7abdcc3386b2cc91d5e7860f6ddfb81 Mon Sep 17 00:00:00 2001 From: Jack Fraser <95544241+jacfra@users.noreply.github.com> Date: Tue, 7 Mar 2023 16:11:35 -0600 Subject: [PATCH] change var to utxo from lockOutRef --- examples/hello_world/hello_world-unlock.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/hello_world/hello_world-unlock.ts b/examples/hello_world/hello_world-unlock.ts index 37bb7289..c15b391e 100644 --- a/examples/hello_world/hello_world-unlock.ts +++ b/examples/hello_world/hello_world-unlock.ts @@ -25,11 +25,11 @@ lucid.selectWalletFromPrivateKey(await Deno.readTextFile("./key.sk")); const validator = await readValidator(); -const lockOutRef: OutRef = { txHash: Deno.args[0], outputIndex: 0 }; +const utxo: OutRef = { txHash: Deno.args[0], outputIndex: 0 }; const redeemer = Data.to(new Constr(0, [utf8ToHex("Hello, World!")])); -const unlockTxHash = await unlock(lockOutRef, { +const unlockTxHash = await unlock(utxo, { from: validator, using: redeemer, });