Skip to content

Commit

Permalink
Merge pull request #312 from oasisprotocol/amela/oasisscan-v2
Browse files Browse the repository at this point in the history
metadata: Bump oasisscan API to v2
  • Loading branch information
amela authored Oct 23, 2024
2 parents f4f49a5 + 546811d commit d8e00d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata/oasisscan.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func EntitiesFromOasisscan(ctx context.Context) (map[types.Address]*Entity, erro
reqCtx, cancel := context.WithTimeout(ctx, time.Second*5)
defer cancel()

req, err := http.NewRequestWithContext(reqCtx, "GET", "https://www.oasisscan.com/mainnet/validator/list", nil)
req, err := http.NewRequestWithContext(reqCtx, "GET", "https://www.oasisscan.com/v2/mainnet/validator/list", nil)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit d8e00d0

Please sign in to comment.