Signed-off-by: stefan.pingel@consensys.net <stefan.pingel@consensys.net>
pull/7806/head
stefan.pingel@consensys.net 3 days ago
parent cc13462d6a
commit 24401e54fc
  1. 1
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/manager/peertask/task/GetReceiptsFromPeerTask.java
  2. 5
      ethereum/eth/src/test/java/org/hyperledger/besu/ethereum/eth/sync/tasks/CompleteBlocksWithPeerTaskTest.java

@ -36,7 +36,6 @@ import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.function.Predicate; import java.util.function.Predicate;
import java.util.function.Supplier;
public class GetReceiptsFromPeerTask public class GetReceiptsFromPeerTask
implements PeerTask<Map<BlockHeader, List<TransactionReceipt>>> { implements PeerTask<Map<BlockHeader, List<TransactionReceipt>>> {

@ -229,10 +229,7 @@ public class CompleteBlocksWithPeerTaskTest {
final Block block1 = final Block block1 =
new Block( new Block(
header1, header1,
new BlockBody( new BlockBody(Collections.emptyList(), Collections.emptyList(), Optional.empty()));
Collections.emptyList(),
Collections.emptyList(),
Optional.empty()));
final Block block2 = final Block block2 =
new Block( new Block(
header2, header2,

Loading…
Cancel
Save