From bf3a47594fd55a66fab919b9d69470f0dce93d2d Mon Sep 17 00:00:00 2001 From: tripathyr Date: Sat, 30 Sep 2023 13:53:04 +0530 Subject: [PATCH] Update btcOperator.js --- scripts/btcOperator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/btcOperator.js b/scripts/btcOperator.js index f2c397e..b0e8f6d 100644 --- a/scripts/btcOperator.js +++ b/scripts/btcOperator.js @@ -1044,7 +1044,7 @@ }).catch(error => reject(error)) }); - getTx.hex = btcOperator.geTx.hex = txid => new Promise((resolve, reject) => { + getTx.hex = btcOperator.getTx.hex = txid => new Promise((resolve, reject) => { fetch_api(`rawtx/${txid}?format=hex`, false) .then(result => resolve(result)) .catch(error => reject(error))