Skip to content

Commit

Permalink
feat(rosetta): do not require archive node to run rosetta
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyizxx committed Mar 21, 2024
1 parent 37fb903 commit f4d37e6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions server/rosetta/client_online.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,6 @@ func (c *Client) Ready() error {
return err
}

// to prevent timeout of reading genesis block
var height int64 = -1
_, err = c.BlockByHeight(ctx, &height)
if err != nil {
return err
}

_, err = c.bank.TotalSupply(ctx, &bank.QueryTotalSupplyRequest{})
if err != nil {
return err
Expand Down

0 comments on commit f4d37e6

Please sign in to comment.