Skip to content

Commit 02c6626

Browse files
committed
Remove unused td
1 parent b264112 commit 02c6626

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

eth-reference-tests/src/referenceTest/java/tech/pegasys/teku/reference/phase0/forkchoice/ForkChoiceTestExecutor.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
import com.google.common.collect.ImmutableMap;
2222
import java.io.IOException;
23-
import java.nio.ByteOrder;
2423
import java.util.ArrayList;
2524
import java.util.Collections;
2625
import java.util.List;
@@ -32,7 +31,6 @@
3231
import org.apache.tuweni.bytes.Bytes;
3332
import org.apache.tuweni.bytes.Bytes32;
3433
import org.apache.tuweni.ssz.SSZ;
35-
import org.apache.tuweni.units.bigints.UInt256;
3634
import org.assertj.core.api.Condition;
3735
import org.opentest4j.TestAbortedException;
3836
import tech.pegasys.teku.bls.BLSSignature;
@@ -243,11 +241,6 @@ private PowBlock parsePowBlock(final Bytes data) {
243241
reader -> {
244242
final Bytes32 blockHash = Bytes32.wrap(reader.readFixedBytes(Bytes32.SIZE));
245243
final Bytes32 parentHash = Bytes32.wrap(reader.readFixedBytes(Bytes32.SIZE));
246-
final UInt256 totalDifficulty =
247-
UInt256.valueOf(
248-
reader
249-
.readFixedBytes(Bytes32.SIZE)
250-
.toUnsignedBigInteger(ByteOrder.LITTLE_ENDIAN));
251244
// We don't get a timestamp but as long as it's in the past that's fine
252245
final UInt64 timestamp = UInt64.ZERO;
253246
return new PowBlock(blockHash, parentHash, timestamp);

0 commit comments

Comments
 (0)