Skip to content

Commit

Permalink
Fix query
Browse files Browse the repository at this point in the history
  • Loading branch information
alpe committed Nov 15, 2023
1 parent ef92f22 commit 5f0fb2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/starship/setup/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ func (p ProviderClient) QueryVaultFreeBalance() int {
if err != nil {
panic(err)
}
acct := qRsp["account"].(map[string]any)
return ParseHighLow(acct["free"]).Low
return ParseHighLow(qRsp["free"]).Low
}

type HighLowType struct {
Expand Down

0 comments on commit 5f0fb2a

Please sign in to comment.