cargo fmt

This commit is contained in:
Keith Yeung
2022-08-14 09:52:40 +08:00
parent 667273a7be
commit 0e6fd2dcc7
2 changed files with 11 additions and 2 deletions
+7 -1
View File
@@ -118,7 +118,13 @@ pub mod pallet {
) {
Ok((hash, cost)) => {
Pings::<T>::insert(seq, n);
Self::deposit_event(Event::PingSent(para, seq, payload.to_vec(), hash, cost));
Self::deposit_event(Event::PingSent(
para,
seq,
payload.to_vec(),
hash,
cost,
));
},
Err(e) => {
Self::deposit_event(Event::ErrorSendingPing(
+4 -1
View File
@@ -22,7 +22,10 @@
use codec::Encode;
use cumulus_primitives_core::{MessageSendError, UpwardMessageSender};
use frame_support::{
traits::{Get, tokens::{fungibles, fungibles::Inspect}},
traits::{
tokens::{fungibles, fungibles::Inspect},
Get,
},
weights::Weight,
};
use polkadot_runtime_common::xcm_sender::ConstantPrice;