Revert "Update intrinsicGas for istanbul update"

This reverts commit 07934e9ae6.
fix-bls-key-not-found
Rongjian Lan 4 years ago
parent 07934e9ae6
commit ec0a498945
  1. 2
      cmd/subcommands/staking.go
  2. 2
      cmd/subcommands/transfer.go

@ -99,7 +99,7 @@ func createStakingTransaction(nonce uint64, f staking.StakeMsgFulfiller) (*staki
var gLimit uint64
if gasLimit == "" {
isCreateValidator := directive == staking.DirectiveCreateValidator
gLimit, err = core.IntrinsicGas(data, false, true, true, isCreateValidator)
gLimit, err = core.IntrinsicGas(data, false, true, isCreateValidator)
if err != nil {
return nil, err
}

@ -145,7 +145,7 @@ func handlerForTransaction(txLog *transactionLog) error {
var gLimit uint64
if gasLimit == "" {
gLimit, err = core.IntrinsicGas([]byte(""), false, true, true, false)
gLimit, err = core.IntrinsicGas([]byte(""), false, true, false)
if handlerForError(txLog, err) != nil {
return err
}

Loading…
Cancel
Save