Skip to content

Commit

Permalink
chore: use new vesting endpoint (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrsirdev authored Oct 11, 2023
1 parent 580206e commit 56019e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/v2/node/rest/vesting.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (c *Client) GetVestingAccount(address string) (VestingByAddressResponse, er
return VestingByAddressResponse{}, fmt.Errorf("error decoding vesting account: %s", err.Error())
}

rewardsRes, err := c.get("/evmos/vesting/v1/balances/" + address)
rewardsRes, err := c.get("/evmos/vesting/v2/balances/" + address)
if err != nil {
return VestingByAddressResponse{}, fmt.Errorf("error querying vesting balance from RPC: %s", err.Error())
}
Expand Down

0 comments on commit 56019e2

Please sign in to comment.