diff --git a/command/genesis/polybft_params.go b/command/genesis/polybft_params.go index 4587b33b7e..c6b7e5e697 100644 --- a/command/genesis/polybft_params.go +++ b/command/genesis/polybft_params.go @@ -39,7 +39,7 @@ const ( defaultPolyBftValidatorPrefixPath = "test-chain-" defaultBridge = false - bootnodePortStart = 1 + bootnodePortStart = 30301 defaultStakeBalance = 100 ) @@ -102,7 +102,7 @@ func (p *genesisParams) generatePolyBFTConfig() (*chain.Chain, error) { // set generic validators as bootnodes if needed if len(p.bootnodes) == 0 { for i, validator := range validatorsInfo { - bnode := fmt.Sprintf("/ip4/%s/tcp/%d0001/p2p/%s", "127.0.0.1", bootnodePortStart+i, validator.NodeID) + bnode := fmt.Sprintf("/ip4/%s/tcp/%d/p2p/%s", "127.0.0.1", bootnodePortStart+i, validator.NodeID) chainConfig.Bootnodes = append(chainConfig.Bootnodes, bnode) } }