diff --git a/pallets/foreign-assets/src/benchmarking.rs b/pallets/foreign-assets/src/benchmarking.rs index f3ce15a643..8e24439f4c 100644 --- a/pallets/foreign-assets/src/benchmarking.rs +++ b/pallets/foreign-assets/src/benchmarking.rs @@ -39,7 +39,7 @@ mod benchmarks { let mode = ForeignCollectionMode::NFT; #[extrinsic_call] - _(RawOrigin::Root, location, name, token_prefix, mode); + _(RawOrigin::Root, Box::new(location), name, token_prefix, mode); Ok(()) }