Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cuteolaf committed Aug 8, 2024
1 parent 6c7709a commit 7bf8e20
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions pallets/processor/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,18 +205,6 @@ impl FeeHandler<AccountId, u64> for OrderCreationFeeHandler {
}
}

parameter_types! {
pub static RelayBlockNumber: u64 = 0;
}

pub struct RelayBlockNumberProvider;
impl BlockNumberProvider for RelayBlockNumberProvider {
type BlockNumber = u64;
fn current_block_number() -> Self::BlockNumber {
RelayBlockNumber::get()
}
}

pub struct OrderToAccountId;
impl Convert<OrderId, AccountId> for OrderToAccountId {
fn convert(order: OrderId) -> AccountId {
Expand Down

0 comments on commit 7bf8e20

Please sign in to comment.