diff --git a/frame/broker/src/dispatchable_impls.rs b/frame/broker/src/dispatchable_impls.rs index 5b3b010ac51b6..7c1d5a786b7cf 100644 --- a/frame/broker/src/dispatchable_impls.rs +++ b/frame/broker/src/dispatchable_impls.rs @@ -205,7 +205,7 @@ impl Pallet { ensure!(pivot > region_id.begin, Error::::PivotTooEarly); region.paid = None; - let new_region_ids = (region_id, RegionId { begin: pivot, ..region_id.clone() }); + let new_region_ids = (region_id, RegionId { begin: pivot, ..region_id }); Regions::::insert(&new_region_ids.0, &RegionRecord { end: pivot, ..region.clone() }); Regions::::insert(&new_region_ids.1, ®ion);