Skip to content

Commit 09b845b

Browse files
committed
fix(): fix http
1 parent f8d7bbe commit 09b845b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

blocks.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,8 @@ func strArrCheckSum(ss []string) string {
145145
}
146146

147147
// TODO Lev suggest Temporary Solutions
148-
var gateway3Cli = gentleman.New().URL("http://gateway-3.arweave.net:1984")
149-
150148
func getBlockHashListByHeightRange(startHeight, endHeight int64) ([]string, error) {
149+
var gateway3Cli = gentleman.New().URL("http://gateway-3.arweave.net:1984")
151150
gateway3Cli.AddPath(fmt.Sprintf("/hash_list/%d/%d", startHeight, endHeight))
152151

153152
req := gateway3Cli.Request()

0 commit comments

Comments
 (0)