rm duplicate imports

This commit is contained in:
tersec 2024-01-21 07:03:42 +00:00
parent 7fd8beb418
commit 172374580d
No known key found for this signature in database
GPG Key ID: 3D7A11A0156519DC
2 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ import
eth/common/[eth_types, transaction],
eth/async_utils, results,
stew/[assign2, byteutils, objects],
eth/async_utils, stew/[assign2, byteutils, objects],
# Local modules:
../spec/[eth2_merkleization, forks, helpers],
../networking/network_metadata,

View File

@ -461,7 +461,7 @@ func is_aggregator*(committee_len: uint64, slot_signature: ValidatorSig): bool =
bytes_to_uint64(eth2digest(
slot_signature.toRaw()).data.toOpenArray(0, 7)) mod modulo == 0
# https://github.com/ethereum/builder-specs/pull/47
# https://github.com/ethereum/builder-specs/blob/v0.4.0/specs/bellatrix/validator.md#liveness-failsafe
func livenessFailsafeInEffect*(
block_roots: array[Limit SLOTS_PER_HISTORICAL_ROOT, Eth2Digest],
slot: Slot): bool =