Remove duplicated addCreate call (#6576)

Signed-off-by: Gabriel Fukushima <gabrielfukushima@gmail.com>
pull/6581/head
Gabriel Fukushima 9 months ago committed by GitHub
parent 8be243f792
commit 9af239677e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      evm/src/main/java/org/hyperledger/besu/evm/processor/ContractCreationProcessor.java

@ -127,7 +127,6 @@ public class ContractCreationProcessor extends AbstractMessageProcessor {
contract.setNonce(initialContractNonce);
contract.clearStorage();
frame.setState(MessageFrame.State.CODE_EXECUTING);
frame.addCreate(contractAddress);
}
} catch (final ModificationNotAllowedException ex) {
LOG.trace("Contract creation error: attempt to mutate an immutable account");

Loading…
Cancel
Save