mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 15:18:00 +00:00
Remove unnecessary map_error (#2239)
This was discovered during a debugging session, and it only served to mask the underlying error, which was not great.
This commit is contained in:
@@ -49,8 +49,7 @@ impl<Inner: SendXcm> SendXcm for WithUniqueTopic<Inner> {
|
||||
message.0.push(SetTopic(unique_id));
|
||||
unique_id
|
||||
};
|
||||
let (ticket, assets) = Inner::validate(destination, &mut Some(message))
|
||||
.map_err(|_| SendError::NotApplicable)?;
|
||||
let (ticket, assets) = Inner::validate(destination, &mut Some(message))?;
|
||||
Ok(((ticket, unique_id), assets))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user