Skip to content

Commit

Permalink
Update trait bound
Browse files Browse the repository at this point in the history
  • Loading branch information
boundless-forest committed May 15, 2024
1 parent fcdec2a commit 275c286
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/cli/src/frontier_db_cmd/mapping_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pub enum MappingKey {
EthBlockOrTransactionHash(H256),
}

pub struct MappingDb<'a, B: BlockT, C: HeaderBackend<B>> {
pub struct MappingDb<'a, B: BlockT, C> {
cmd: &'a FrontierDbCmd,
client: Arc<C>,
backend: Arc<fc_db::kv::Backend<B, C>>,
Expand Down
2 changes: 1 addition & 1 deletion client/cli/src/frontier_db_cmd/meta_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ impl FromStr for MetaKey {
}
}

pub struct MetaDb<'a, B: BlockT, C: HeaderBackend<B>> {
pub struct MetaDb<'a, B: BlockT, C> {
cmd: &'a FrontierDbCmd,
backend: Arc<fc_db::kv::Backend<B, C>>,
}
Expand Down
2 changes: 1 addition & 1 deletion client/mapping-sync/src/kv/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ use fp_rpc::EthereumRuntimeRPCApi;

use crate::SyncStrategy;

pub struct MappingSyncWorker<Block: BlockT, C: HeaderBackend<Block>, BE> {
pub struct MappingSyncWorker<Block: BlockT, C, BE> {
import_notifications: ImportNotifications<Block>,
timeout: Duration,
inner_delay: Option<Delay>,
Expand Down

0 comments on commit 275c286

Please sign in to comment.