Companion to #9514 (Remove Filter and use Contains instead) (#566)

* Remove Filter and use Contains instead

* Fixes

* Remove patch

* Bump Polkadot

* bump
This commit is contained in:
Gavin Wood
2021-08-09 18:07:37 +02:00
committed by GitHub
parent 6637471fb4
commit b3c38f0926
13 changed files with 298 additions and 309 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ impl<T: UpwardMessageSender, W: WrapVersion> SendXcm for ParentAsUmp<T, W> {
fn send_xcm(dest: MultiLocation, msg: Xcm<()>) -> Result<(), XcmError> {
match &dest {
// An upward message for the relay chain.
MultiLocation::X1(Parent) => {
X1(Parent) => {
let versioned_xcm = W::wrap_version(&dest, msg)
.map_err(|()| XcmError::DestinationUnsupported)?;
let data = versioned_xcm.encode();