Skip to content

Commit

Permalink
Problem: sdk 0.50 cmd is not aligned
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Apr 9, 2024
1 parent 0ef1ade commit 3c7bc0c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pystarport/cosmoscli.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,14 @@ def block_time(self):
def balances(self, addr, height=0):
return json.loads(
self.raw(
"query", "bank", "balances", addr, height=height, home=self.data_dir
"query",
"bank",
"balances",
addr,
height=height,
output="json",
home=self.data_dir,
node=self.node_rpc,
)
)["balances"]

Expand Down

0 comments on commit 3c7bc0c

Please sign in to comment.