From 546811d0b78fb1ef39528cd9aaa05fea18747212 Mon Sep 17 00:00:00 2001 From: amela Date: Mon, 21 Oct 2024 12:00:46 +0200 Subject: [PATCH] metadata: Bump oasisscan API to v2 --- metadata/oasisscan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata/oasisscan.go b/metadata/oasisscan.go index 0e992592..d871ef84 100644 --- a/metadata/oasisscan.go +++ b/metadata/oasisscan.go @@ -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 }