hermeznetwork / hermez-node

Hermez node Go implementation
GNU Affero General Public License v3.0
60 stars 33 forks source link

Node should start when no libp2p addrs are found #1143

Closed arnaubennassar closed 2 years ago

arnaubennassar commented 2 years ago

Rationale

When there are no valid nodes registered on the SC, the node will fail to start as the method will return an error: https://github.com/hermeznetwork/hermez-node/blob/feature/coordinators-network/node/node.go#L458

Implementation

Instead of propagating the error log it as a warning