Skip to content

Commit c3981a8

Browse files
author
Naohiro Yoshida
committed
fix clippy
Signed-off-by: Naohiro Yoshida <naohiro.yoshida@datachain.jp>
1 parent f089201 commit c3981a8

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

light-client/src/header/eth_header.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
use alloc::vec::Vec;
2-
use elliptic_curve::bigint::U64;
32
use elliptic_curve::sec1::ToEncodedPoint;
43
use hex_literal::hex;
54
use k256::ecdsa::{RecoveryId, Signature, VerifyingKey};

light-client/src/header/vote_attestation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ impl<'a> TryFrom<Rlp<'a>> for VoteAttestation {
154154
mod test {
155155
use crate::errors::Error;
156156
use crate::fixture::*;
157-
use crate::header::eth_header::{get_validator_bytes_and_turn_length, ETHHeader};
157+
use crate::header::eth_header::get_validator_bytes_and_turn_length;
158158
use crate::header::vote_attestation::{
159159
VoteAddressBitSet, VoteAttestation, VoteData, BLS_SIGNATURE_LENGTH,
160160
MAX_ATTESTATION_EXTRA_LENGTH,

0 commit comments

Comments
 (0)