Skip to content

Commit

Permalink
use async call instead of direct
Browse files Browse the repository at this point in the history
  • Loading branch information
nitsujlangston committed Dec 13, 2022
1 parent 8de73e1 commit 6f00b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/xrp/XrpRpc.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class XrpRpc {
}

async getBalance({ address }) {
let balance = await this.rpc.getXrpBalance(address || this.address);
let balance = await this.asyncCall('getXrpBalance', address || this.address);
return parseFloat(balance);
}

Expand Down

0 comments on commit 6f00b0d

Please sign in to comment.