提交 fc78ce61 编写于 作者: P Péter Szilágyi 提交者: GitHub

Merge pull request #14859 from cdetrio/evm-flag-gasprice

core/vm/runtime: fix evm command to use --gasprice flag value
......@@ -37,7 +37,7 @@ func NewEnv(cfg *Config, state *state.StateDB) *vm.EVM {
Time: cfg.Time,
Difficulty: cfg.Difficulty,
GasLimit: new(big.Int).SetUint64(cfg.GasLimit),
GasPrice: new(big.Int),
GasPrice: cfg.GasPrice,
}
return vm.NewEVM(context, cfg.State, cfg.ChainConfig, cfg.EVMConfig)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册