From 0ce043cca9f63c51e3b9bf4685ce5fffc33f200d Mon Sep 17 00:00:00 2001 From: Mononaut Date: Sun, 23 Jul 2023 13:55:27 +0900 Subject: [PATCH] Fix esplora error messages --- backend/src/api/bitcoin/esplora-api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/api/bitcoin/esplora-api.ts b/backend/src/api/bitcoin/esplora-api.ts index 01294cc01..5bfff5730 100644 --- a/backend/src/api/bitcoin/esplora-api.ts +++ b/backend/src/api/bitcoin/esplora-api.ts @@ -111,11 +111,11 @@ class ElectrsApi implements AbstractBitcoinApi { } $getScriptHash(scripthash: string): Promise { - throw new Error('Method getAddress not implemented.'); + throw new Error('Method getScriptHash not implemented.'); } $getScriptHashTransactions(scripthash: string, txId?: string): Promise { - throw new Error('Method getAddressTransactions not implemented.'); + throw new Error('Method getScriptHashTransactions not implemented.'); } $getAddressPrefix(prefix: string): string[] {