From 8f925da4d48d2b63f5319bf39e4d1981060d0482 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Mon, 01 Aug 2022 13:47:04 +0000 Subject: [PATCH] fix: use rft imports only when needed --- --- a/runtime/common/src/weights.rs +++ b/runtime/common/src/weights.rs @@ -20,6 +20,8 @@ use pallet_fungible::{Config as FungibleConfig, common::CommonWeights as FungibleWeights}; use pallet_nonfungible::{Config as NonfungibleConfig, common::CommonWeights as NonfungibleWeights}; + +#[cfg(feature = "refungible")] use pallet_refungible::{ Config as RefungibleConfig, weights::WeightInfo, common::CommonWeights as RefungibleWeights, }; -- gitstuff