From 21890e954e47b279be66037cec9744c3c08b2884 Mon Sep 17 00:00:00 2001 From: Franklin Delehelle Date: Wed, 20 Dec 2023 11:26:08 +0100 Subject: [PATCH] refactor: drop unused test data Signed-off-by: Franklin Delehelle Signed-off-by: Daniel Lehrner --- .../besu/ethereum/mainnet/MainnetTransactionProcessorTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionProcessorTest.java b/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionProcessorTest.java index f0447945f58..3e40784ad42 100644 --- a/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionProcessorTest.java +++ b/ethereum/core/src/test/java/org/hyperledger/besu/ethereum/mainnet/MainnetTransactionProcessorTest.java @@ -163,8 +163,6 @@ void shouldTraceEndTxOnFailingTransaction(final Exception exception) { Address senderAddress = Address.fromHexString("0x5555555555555555555555555555555555555555"); Address coinbaseAddress = Address.fromHexString("0x4242424242424242424242424242424242424242"); - when(receiverAccount.getCode()).thenReturn(Bytes.fromHexString("0x600101")); - when(transaction.getTo()).thenReturn(toAddress); when(transaction.getHash()).thenReturn(Hash.EMPTY); when(transaction.getPayload()).thenReturn(Bytes.EMPTY);