diff --git a/state-chain/pallets/cf-ingress-egress/src/lib.rs b/state-chain/pallets/cf-ingress-egress/src/lib.rs index 6006c84ddbe..fe475c2c6f4 100644 --- a/state-chain/pallets/cf-ingress-egress/src/lib.rs +++ b/state-chain/pallets/cf-ingress-egress/src/lib.rs @@ -518,7 +518,7 @@ pub mod pallet { pub fn process_deposits( origin: OriginFor, deposit_witnesses: Vec>, - block_height: ::ChainBlockNumber, + block_height: TargetChainBlockNumber, ) -> DispatchResult { T::EnsureWitnessed::ensure_origin(origin)?; @@ -761,7 +761,7 @@ impl, I: 'static> Pallet { asset: TargetChainAsset, amount: TargetChainAmount, deposit_details: ::DepositDetails, - block_height: ::ChainBlockNumber, + block_height: TargetChainBlockNumber, ) -> DispatchResult { let deposit_channel_details = DepositChannelLookup::::get(&deposit_address) .ok_or(Error::::InvalidDepositAddress)?;