mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-15 20:46:40 +00:00
tests/fuzzers/les: fix crash in fuzzer (#28362)
This commit is contained in:
parent
20d5256e40
commit
d782dc2341
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@ func makechain() (bc *core.BlockChain, addresses []common.Address, txHashes []co
|
||||||
)
|
)
|
||||||
nonce := uint64(i)
|
nonce := uint64(i)
|
||||||
if i%4 == 0 {
|
if i%4 == 0 {
|
||||||
tx, _ = types.SignTx(types.NewContractCreation(nonce, big.NewInt(0), 200000, big.NewInt(0), testContractCode), signer, bankKey)
|
tx, _ = types.SignTx(types.NewContractCreation(nonce, big.NewInt(0), 200000, big.NewInt(params.GWei), testContractCode), signer, bankKey)
|
||||||
addr = crypto.CreateAddress(bankAddr, nonce)
|
addr = crypto.CreateAddress(bankAddr, nonce)
|
||||||
} else {
|
} else {
|
||||||
addr = common.BigToAddress(big.NewInt(int64(i)))
|
addr = common.BigToAddress(big.NewInt(int64(i)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue