Skip to content

Commit 6f00b0d

Browse files
use async call instead of direct
1 parent 8de73e1 commit 6f00b0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/xrp/XrpRpc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class XrpRpc {
171171
}
172172

173173
async getBalance({ address }) {
174-
let balance = await this.rpc.getXrpBalance(address || this.address);
174+
let balance = await this.asyncCall('getXrpBalance', address || this.address);
175175
return parseFloat(balance);
176176
}
177177

0 commit comments

Comments
 (0)