From 42ac2565da19cb8a0f19848a01e7fc26f257e7eb Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 9 Nov 2018 18:25:22 +0700 Subject: [PATCH] pubkeyHash => pubKeyHash --- src/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index 0be0bc5..de03812 100644 --- a/src/index.js +++ b/src/index.js @@ -33,13 +33,13 @@ const buildOutputScript = outputs => { let outputScript = [...numberToCompactSizeUInt(outputs.length)]; for (const [address, value] of outputs) { - const pubkeyHash = addressDecode(address); + const pubKeyHash = addressDecode(address); const scriptPubKey = [ OP_DUP, OP_HASH160, - pubkeyHash.length, - ...pubkeyHash, + pubKeyHash.length, + ...pubKeyHash, OP_EQUALVERIFY, OP_CHECKSIG ];