Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fixed build (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 authored Sep 15, 2022
1 parent 32785d8 commit beedaa9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/saturn-l2/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ var (
maxL1DiscoveryBackoff = 60 * time.Second
minL1DiscoveryBackoff = 2 * time.Second

maxDownloadPerRequest = 2147483648 // 2 Gib
maxDownloadPerRequest = uint64(2147483648) // 2 Gib
)

type config struct {
Expand Down
1 change: 1 addition & 0 deletions testutils/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ func GetTestServerForRoots(t *testing.T, out map[string][]byte) *httptest.Server

func GetTestServer(t *testing.T, root string, out []byte) *httptest.Server {
return httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
time.Sleep(1 * time.Second)
q := r.URL.Query()
v := q.Get("arg")
if len(v) == 0 || v != root {
Expand Down

0 comments on commit beedaa9

Please sign in to comment.