Skip to content

Commit c0d8a10

Browse files
committed
fix
1 parent 942fe51 commit c0d8a10

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ jobs:
3636
- name: Update
3737
run: |
3838
cargo update
39-
cargo update base64ct --precise 1.6.0 # 1.8.0 requires the Cargo feature called `edition2024`
4039
cargo update pallet-revive-proc-macro --precise 0.3.0 # TODO: https://github.com/paritytech/polkadot-sdk/issues/9425
4140
- name: Run clippy
4241
run: cargo clippy -- -D warnings

xtokens/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ pub mod module {
850850

851851
/// Ensure has the `dest` has chain part and recipient part.
852852
fn ensure_valid_dest(dest: &Location) -> Result<(Location, Location), DispatchError> {
853-
if let (Some(dest), Some(recipient)) = (Self::chain_part(&dest), Self::non_chain_part(&dest)) {
853+
if let (Some(dest), Some(recipient)) = (Self::chain_part(dest), Self::non_chain_part(dest)) {
854854
Ok((dest, recipient))
855855
} else {
856856
Err(Error::<T>::InvalidDest.into())

0 commit comments

Comments
 (0)