mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-18 02:40:45 +00:00
remove duplicate common.TIPTRC21Fee assignment
This commit is contained in:
parent
6a768b04f9
commit
e00e34c79b
1 changed files with 2 additions and 3 deletions
|
|
@ -160,15 +160,14 @@ func makeConfigNode(ctx *cli.Context) (*node.Node, XDCConfig) {
|
||||||
common.TRC21IssuerSMC = common.TRC21IssuerSMCTestNet
|
common.TRC21IssuerSMC = common.TRC21IssuerSMCTestNet
|
||||||
cfg.Eth.NetworkId = 51
|
cfg.Eth.NetworkId = 51
|
||||||
common.RelayerRegistrationSMC = common.RelayerRegistrationSMCTestnet
|
common.RelayerRegistrationSMC = common.RelayerRegistrationSMCTestnet
|
||||||
common.TIPTRC21Fee = common.TIPXDCXTestnet
|
|
||||||
common.TIPTRC21Fee = common.TIPTRC21FeeTestnet
|
common.TIPTRC21Fee = common.TIPTRC21FeeTestnet
|
||||||
common.TIPXDCXCancellationFee = common.TIPXDCXCancellationFeeTestnet
|
common.TIPXDCXCancellationFee = common.TIPXDCXCancellationFeeTestnet
|
||||||
}
|
}
|
||||||
|
|
||||||
if ctx.GlobalBool(utils.Enable0xPrefixFlag.Name) {
|
if ctx.GlobalBool(utils.Enable0xPrefixFlag.Name) {
|
||||||
common.Enable0xPrefix = true;
|
common.Enable0xPrefix = true
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rewound
|
// Rewound
|
||||||
if rewound := ctx.GlobalInt(utils.RewoundFlag.Name); rewound != 0 {
|
if rewound := ctx.GlobalInt(utils.RewoundFlag.Name); rewound != 0 {
|
||||||
common.Rewound = uint64(rewound)
|
common.Rewound = uint64(rewound)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue