From b80679201757e6904741be74edcc0e4dd7f8f3f4 Mon Sep 17 00:00:00 2001 From: jejolare Date: Wed, 19 Feb 2025 00:35:28 +0700 Subject: [PATCH] make fetchDaemon and fetchWallet public methods --- server/src/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/server.ts b/server/src/server.ts index adaef55..1675756 100644 --- a/server/src/server.ts +++ b/server/src/server.ts @@ -91,7 +91,7 @@ class ServerWallet { } - private async fetchDaemon(method: string, params: any) { + async fetchDaemon(method: string, params: any) { const data = { @@ -109,7 +109,7 @@ class ServerWallet { return axios.post(this.daemonUrl, data, { headers }); } - private async fetchWallet(method: string, params: any) { + async fetchWallet(method: string, params: any) { const data = { jsonrpc: "2.0",