From 17b1325b3fc83d44443515d8a95fd671b6ad7173 Mon Sep 17 00:00:00 2001 From: softsimon Date: Tue, 19 Jan 2021 13:01:47 +0700 Subject: [PATCH] Fix for case-insensitive address prefix search. fixes #301 --- frontend/src/app/services/electrs-api.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/services/electrs-api.service.ts b/frontend/src/app/services/electrs-api.service.ts index 3964e463e..765d8f986 100644 --- a/frontend/src/app/services/electrs-api.service.ts +++ b/frontend/src/app/services/electrs-api.service.ts @@ -85,6 +85,6 @@ export class ElectrsApiService { } getAddressesByPrefix$(prefix: string): Observable { - return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/address-prefix/' + prefix); + return this.httpClient.get(this.apiBaseUrl + this.apiBasePath + '/api/address-prefix/' + prefix.toLowerCase()); } }