Skip to content

Commit

Permalink
Fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AnkushinDaniil committed Dec 24, 2024
1 parent 039882c commit 3833233
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions node/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ import (
)

const (
upgraderDelay * time.Minute
githubAPIUrl = "https://api.github.com/repos/NethermindEth/juno/releases/latest"
latestReleaseURLhttps://github.com/NethermindEth/juno/releases/latest"
upgraderDelay = 5 * time.Minute
githubAPIUrl = "https://api.github.com/repos/NethermindEth/juno/releases/latest"
latestReleaseURL = "https://github.com/NethermindEth/juno/releases/latest"
)

// Config is the top-level juno configuration.
Expand Down Expand Up @@ -181,7 +181,7 @@ func New(cfg *Config, version string) (*Node, error) { //nolint:gocyclo,funlen
rpcHandler = rpcHandler.WithFilterLimit(cfg.RPCMaxBlockScan).WithCallMaxSteps(uint64(cfg.RPCCallMaxSteps))
services = append(services, rpcHandler)

l1ToP2P := make(chan p2p.IPAddressRegistryEvent)
l1ToP2P := make(chan p2p.IPAddressRegistryEvent)
if !cfg.DisableL1Verification {
// Due to mutually exclusive flag we can do the following.
if cfg.EthNode == "" {
Expand Down
1 change: 0 additions & 1 deletion p2p/p2p_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/stretchr/testify/require"
)


func TestInvalidKey(t *testing.T) {
_, err := p2p.New(
"/ip4/127.0.0.1/tcp/30301",
Expand Down

0 comments on commit 3833233

Please sign in to comment.