Skip to content

Commit

Permalink
chore: use TargetChainBlockNumber
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezs committed Sep 25, 2023
1 parent b1648a3 commit 89949ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions state-chain/pallets/cf-ingress-egress/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ pub mod pallet {
pub fn process_deposits(
origin: OriginFor<T>,
deposit_witnesses: Vec<DepositWitness<T::TargetChain>>,
block_height: <T::TargetChain as Chain>::ChainBlockNumber,
block_height: TargetChainBlockNumber<T, I>,
) -> DispatchResult {
T::EnsureWitnessed::ensure_origin(origin)?;

Expand Down Expand Up @@ -761,7 +761,7 @@ impl<T: Config<I>, I: 'static> Pallet<T, I> {
asset: TargetChainAsset<T, I>,
amount: TargetChainAmount<T, I>,
deposit_details: <T::TargetChain as Chain>::DepositDetails,
block_height: <T::TargetChain as Chain>::ChainBlockNumber,
block_height: TargetChainBlockNumber<T, I>,
) -> DispatchResult {
let deposit_channel_details = DepositChannelLookup::<T, I>::get(&deposit_address)
.ok_or(Error::<T, I>::InvalidDepositAddress)?;
Expand Down

0 comments on commit 89949ed

Please sign in to comment.