Skip to content

Commit

Permalink
(do not merge) temporarily disable p2p id checks
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjgilbert authored Dec 12, 2019
1 parent e568a58 commit 2d7acfd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions go/registry/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,8 @@ func VerifyRegisterNodeArgs( // nolint: gocyclo
logger.Error("RegisterNode: invalid P2P id",
"node", n,
)
return nil, ErrInvalidArgument
// Temporarily disable this check.
//return nil, ErrInvalidArgument
}
p2pAddressRequired := n.HasRoles(P2PAddressRequiredRoles)
if err := verifyAddresses(params, p2pAddressRequired, n.P2P.Addresses); err != nil {
Expand Down Expand Up @@ -534,7 +535,8 @@ func VerifyRegisterNodeArgs( // nolint: gocyclo
"node", n,
"existing_node", rn,
)
return nil, ErrInvalidArgument
// Temporarily disable this check.
//return nil, ErrInvalidArgument
}

if bytes.Equal(rn.Committee.Certificate, n.Committee.Certificate) {
Expand Down

0 comments on commit 2d7acfd

Please sign in to comment.