Skip to content

Commit

Permalink
remove un-necessary import
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Nov 15, 2024
1 parent 4db2776 commit d0190f6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion bridges/snowbridge/pallets/inbound-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ mod test;
pub mod xcm_message_processor;

use codec::{Decode, Encode};
use frame_support::pallet_prelude::Weight;
use frame_support::{
traits::{
fungible::{Inspect, Mutate},
Expand Down
2 changes: 1 addition & 1 deletion bridges/snowbridge/pallets/inbound-queue/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ impl TransactAsset for SuccessfulTransactor {
pub struct DummyPrefix;

impl MessageProcessor for DummyPrefix {
fn can_process_message(channel: &Channel, envelope: &Envelope) -> bool {
fn can_process_message(_channel: &Channel, _envelope: &Envelope) -> bool {
false
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use crate::{Error, Event, LOG_TARGET};
use codec::DecodeAll;
use core::marker::PhantomData;
use frame_support::pallet_prelude::Weight;
use snowbridge_core::Channel;
use snowbridge_router_primitives::inbound::envelope::Envelope;
use snowbridge_router_primitives::inbound::{MessageProcessor, VersionedXcmMessage};
Expand Down

0 comments on commit d0190f6

Please sign in to comment.