Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
realbigsean committed Jun 17, 2024
1 parent eb78e1d commit 0044d60
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions slasher/src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ use std::marker::PhantomData;
use std::sync::Arc;
use tree_hash::TreeHash;
use types::{
Epoch, EthSpec, Hash256, IndexedAttestation, IndexedAttestationRefOnDisk, ProposerSlashing,
SignedBeaconBlockHeader, Slot,
Epoch, EthSpec, Hash256, IndexedAttestation, IndexedAttestationOnDisk,
IndexedAttestationRefOnDisk, ProposerSlashing, SignedBeaconBlockHeader, Slot,
};

/// Current database schema version, to check compatibility of on-disk DB with software.
Expand Down
3 changes: 1 addition & 2 deletions slasher/src/migrate.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use crate::{database::CURRENT_SCHEMA_VERSION, Error, SlasherDB};
use ssz::{Decode, Encode};
use types::{EthSpec, IndexedAttestationBase, IndexedAttestationOnDisk};
use types::EthSpec;

impl<E: EthSpec> SlasherDB<E> {
/// If the database exists, and has a schema, attempt to migrate it to the current version.
Expand Down

0 comments on commit 0044d60

Please sign in to comment.