diff options
author | StephenButtolph <[email protected]> | 2020-08-25 13:20:28 -0400 |
---|---|---|
committer | StephenButtolph <[email protected]> | 2020-08-25 13:20:28 -0400 |
commit | b05d11d451fb73843abcf6bd5fc8664b069433a4 (patch) | |
tree | 9de0af77831340eb38c28c613849f1e7b65f3a54 /plugin/evm/vm.go | |
parent | b53cf297e5cccd577af725bacdb7f3ccb61336bd (diff) |
fixed potential vulnerability with bootstrapping blocks
Diffstat (limited to 'plugin/evm/vm.go')
-rw-r--r-- | plugin/evm/vm.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/evm/vm.go b/plugin/evm/vm.go index b4026a8..e1fdc33 100644 --- a/plugin/evm/vm.go +++ b/plugin/evm/vm.go @@ -83,7 +83,7 @@ const ( var ( // minGasPrice is the number of nAVAX required per gas unit for a transaction // to be valid, measured in wei - minGasPrice = big.NewInt(47*params.GWei) + minGasPrice = big.NewInt(47 * params.GWei) txFee = units.MilliAvax @@ -94,7 +94,7 @@ var ( errUnsupportedFXs = errors.New("unsupported feature extensions") errInvalidBlock = errors.New("invalid block") errInvalidAddr = errors.New("invalid hex address") - errTooManyAtomicTx = errors.New("too many pending atomix txs") + errTooManyAtomicTx = errors.New("too many pending atomic txs") errAssetIDMismatch = errors.New("asset IDs in the input don't match the utxo") errWrongNumberOfCredentials = errors.New("should have the same number of credentials as inputs") errNoInputs = errors.New("tx has no inputs") |