Skip to content

Commit 0b14ca5

Browse files
Merge pull request #6 from everFinance/develop
fix(): fix http
2 parents 82229a0 + 09b845b commit 0b14ca5

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)