From 8e080615b37a77da68fe3fda0ee2c561656ea546 Mon Sep 17 00:00:00 2001 From: Yatogami <31242383+yatogamidev@users.noreply.github.com> Date: Sun, 15 Aug 2021 08:39:07 -0300 Subject: [PATCH] Update index.js --- packages/utxo/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/utxo/index.js b/packages/utxo/index.js index 9a79716..1c57a8f 100644 --- a/packages/utxo/index.js +++ b/packages/utxo/index.js @@ -26,7 +26,7 @@ function decode (hex) { } else{ input.type = 'Unkown' - intput.script = { + input.script = { hex: decodedScript } } @@ -70,4 +70,4 @@ function decodeWitness(witness){ function reducer(a, b){ return a + b} -module.exports.decode = decode; \ No newline at end of file +module.exports.decode = decode;