diff --git a/engine/src/witness/btc/smart_contract.rs b/engine/src/witness/btc/smart_contract.rs index 950bbefa94..76f2ddf387 100644 --- a/engine/src/witness/btc/smart_contract.rs +++ b/engine/src/witness/btc/smart_contract.rs @@ -168,7 +168,7 @@ mod tests { const MOCK_DOT_ADDRESS: [u8; 32] = [9u8; 32]; const MOCK_SWAP_PARAMS: UtxoEncodedData = UtxoEncodedData { - output_asset: Asset::Btc, + output_asset: Asset::Dot, output_address: EncodedAddress::Dot(MOCK_DOT_ADDRESS), parameters: SharedCfParameters { retry_duration: 5, diff --git a/state-chain/chains/src/btc/smart_contract_encoding.rs b/state-chain/chains/src/btc/smart_contract_encoding.rs index 383a04d293..82add655a3 100644 --- a/state-chain/chains/src/btc/smart_contract_encoding.rs +++ b/state-chain/chains/src/btc/smart_contract_encoding.rs @@ -2,6 +2,7 @@ use crate::address::EncodedAddress; use cf_primitives::{Asset, AssetAmount, ForeignChain}; use codec::{Decode, Encode, MaxEncodedLen}; use scale_info::TypeInfo; +use sp_std::vec::Vec; use super::{BitcoinOp, BitcoinScript};