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, });