forked from cerc-io/laconicd-deprecated
fix fee value (#396)
This commit is contained in:
parent
4662e2e182
commit
bfb9943af3
@ -105,7 +105,7 @@ func (api *API) SetEtherbase(etherbase common.Address) bool {
|
|||||||
WithKeybase(api.ethAPI.ClientCtx().Keyring).
|
WithKeybase(api.ethAPI.ClientCtx().Keyring).
|
||||||
WithTxConfig(api.ethAPI.ClientCtx().TxConfig).
|
WithTxConfig(api.ethAPI.ClientCtx().TxConfig).
|
||||||
WithSequence(uint64(*nonce)).
|
WithSequence(uint64(*nonce)).
|
||||||
WithGasAdjustment(1.11)
|
WithGasAdjustment(1.25)
|
||||||
|
|
||||||
_, gas, err := tx.CalculateGas(api.ethAPI.ClientCtx(), txFactory, msg)
|
_, gas, err := tx.CalculateGas(api.ethAPI.ClientCtx(), txFactory, msg)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user