make fetchDaemon and fetchWallet public methods
This commit is contained in:
parent
f3e31087dc
commit
b806792017
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue