Revert "tests/fuzzers/les: fix crash in fuzzer (#28362)"

This reverts commit 0bceb02de7.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 5bf64a8efd
commit 2ae6a0c3d3

View file

@ -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(params.GWei), testContractCode), signer, bankKey) tx, _ = types.SignTx(types.NewContractCreation(nonce, big.NewInt(0), 200000, big.NewInt(0), 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)))