From e09da7e0af6435bea07581244ac6e90d51128095 Mon Sep 17 00:00:00 2001 From: noiach Date: Fri, 25 Sep 2020 13:32:30 +1000 Subject: [PATCH] fix: fixed fetchTransactions calling fetchUTXos instead --- src/handlers/BCH/BCHHandler.ts | 2 +- src/handlers/BTC/BTCHandler.ts | 2 +- src/handlers/ZEC/ZECHandler.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/handlers/BCH/BCHHandler.ts b/src/handlers/BCH/BCHHandler.ts index 7413845..ebc3a91 100644 --- a/src/handlers/BCH/BCHHandler.ts +++ b/src/handlers/BCH/BCHHandler.ts @@ -121,7 +121,7 @@ export class BCHHandler implements Handler { ? options.confirmations : 0; - const endpoints = _apiFallbacks.fetchUTXOs( + const endpoints = _apiFallbacks.fetchTransactions( testnet, address, confirmations diff --git a/src/handlers/BTC/BTCHandler.ts b/src/handlers/BTC/BTCHandler.ts index 5ec55af..fcfafee 100644 --- a/src/handlers/BTC/BTCHandler.ts +++ b/src/handlers/BTC/BTCHandler.ts @@ -130,7 +130,7 @@ export class BTCHandler implements Handler { ? options.confirmations : 0; - const endpoints = _apiFallbacks.fetchUTXOs( + const endpoints = _apiFallbacks.fetchTransactions( testnet, options.address, confirmations diff --git a/src/handlers/ZEC/ZECHandler.ts b/src/handlers/ZEC/ZECHandler.ts index ccbe703..e0c63f1 100644 --- a/src/handlers/ZEC/ZECHandler.ts +++ b/src/handlers/ZEC/ZECHandler.ts @@ -222,7 +222,7 @@ export class ZECHandler implements Handler { ? options.confirmations : 0; - const endpoints = _apiFallbacks.fetchUTXOs( + const endpoints = _apiFallbacks.fetchTransactions( testnet, options.address, confirmations