Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge branch 'ao-past-session-slashing-runtime' into ao-past-session-…
Browse files Browse the repository at this point in the history
…slashing-client

* ao-past-session-slashing-runtime:
  bump zombienet version (#7292)
  xcm-builder: remove clone for clippy (#7291)
  • Loading branch information
ordian committed May 25, 2023
2 parents 8bb8e07 + f621e4a commit 92c5228
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xcm/xcm-builder/src/routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner> {
*id
} else {
let unique_id = unique(&message);
message.0.push(SetTopic(unique_id.clone()));
message.0.push(SetTopic(unique_id));
unique_id
};
let (ticket, assets) = Inner::validate(destination, &mut Some(message))
Expand Down Expand Up @@ -86,7 +86,7 @@ impl<Inner: SendXcm, TopicSource: SourceTopic> SendXcm for WithTopicSource<Inner
*id
} else {
let unique_id = TopicSource::source_topic(&message);
message.0.push(SetTopic(unique_id.clone()));
message.0.push(SetTopic(unique_id));
unique_id
};
let (ticket, assets) = Inner::validate(destination, &mut Some(message))
Expand Down

0 comments on commit 92c5228

Please sign in to comment.