From 5b1b554ee0730a6245736a6fb1b311e91d55c6e0 Mon Sep 17 00:00:00 2001 From: softsimon Date: Thu, 23 Jun 2022 11:55:56 +0200 Subject: [PATCH] Fix for outspends when using esplora --- backend/src/api/bitcoin/esplora-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/api/bitcoin/esplora-api.ts b/backend/src/api/bitcoin/esplora-api.ts index a2e9ba4f1..f882180b1 100644 --- a/backend/src/api/bitcoin/esplora-api.ts +++ b/backend/src/api/bitcoin/esplora-api.ts @@ -62,7 +62,7 @@ class ElectrsApi implements AbstractBitcoinApi { } $getOutspends(txId: string): Promise { - return axios.get(config.ESPLORA.REST_API_URL + '/tx/' + txId, this.axiosConfig) + return axios.get(config.ESPLORA.REST_API_URL + '/tx/' + txId + '/outspends', this.axiosConfig) .then((response) => response.data); }