make fetchDaemon and fetchWallet public methods

This commit is contained in:
jejolare 2025-02-19 00:35:28 +07:00
parent f3e31087dc
commit b806792017

View file

@ -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",