diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go index 0200e2c04..b4126917b 100644 --- a/cmd/utils/flags.go +++ b/cmd/utils/flags.go @@ -145,7 +145,7 @@ var ( } NetworkIdFlag = cli.Uint64Flag{ Name: "networkid", - Usage: "Explicitly set network id (integer)(For testnets: use --pulsechain --pulsechain-testnet --ropsten, --rinkeby, --goerli instead)", + Usage: "Explicitly set network id (integer)(For testnets: use --pulsechain, --pulsechain-testnet, --ropsten, --rinkeby, --goerli instead)", Value: ethconfig.Defaults.NetworkId, } MainnetFlag = cli.BoolFlag{ diff --git a/core/state_processor.go b/core/state_processor.go index ad13ccf65..4a115d991 100644 --- a/core/state_processor.go +++ b/core/state_processor.go @@ -81,10 +81,8 @@ func (p *StateProcessor) Process(block *types.Block, statedb *state.StateDB, cfg // Iterate over and process the individual transactions posa, isPoSA := p.engine.(consensus.PoSA) - // Store common transactions commonTxs := make([]*types.Transaction, 0, len(block.Transactions())) - // Store system transactions // usually do have two tx, one for validator set contract, another for system reward contract. systemTxs := make([]*types.Transaction, 0, 2) diff --git a/eth/ethconfig/config.go b/eth/ethconfig/config.go index 3d24d399f..452abb01f 100644 --- a/eth/ethconfig/config.go +++ b/eth/ethconfig/config.go @@ -61,7 +61,7 @@ var LightClientGPO = gasprice.Config{ IgnorePrice: gasprice.DefaultIgnorePrice, } -// Defaults contains default settings for use on the Ethereum main net. +// Defaults contains default settings for use on the Pulsechain main net. var Defaults = Config{ SyncMode: downloader.SnapSync, Ethash: ethash.Config{ diff --git a/mobile/geth.go b/mobile/geth.go index 5e51abf8c..e73224163 100644 --- a/mobile/geth.go +++ b/mobile/geth.go @@ -80,7 +80,7 @@ var defaultNodeConfig = &NodeConfig{ BootstrapNodes: PulseChainBootnodes(), MaxPeers: 25, EthereumEnabled: true, - EthereumNetworkID: 1, + EthereumNetworkID: 369, EthereumDatabaseCache: 16, }