difftreelog
style fix formatting
in: master
4 files changed
client/rpc/src/lib.rsdiffbeforeafterboth--- a/client/rpc/src/lib.rs
+++ b/client/rpc/src/lib.rs
@@ -528,7 +528,7 @@
|r: sc_service::Result<
up_data_structs::TokenDataVersion1<CrossAccountId>,
sp_runtime::DispatchError,
- >| r.and_then(|value| Ok(value.into())),
+ >| r.map(|value| value.into()),
)
.or_else(|_| {
Ok(api
node/cli/src/chain_spec.rsdiffbeforeafterboth297 default_runtime,297 default_runtime,298 // Sudo account298 // Sudo account299 get_account_id_from_seed::<sr25519::Public>("Alice"),299 get_account_id_from_seed::<sr25519::Public>("Alice"),300 vec![300 [301 (301 (302 get_account_id_from_seed::<sr25519::Public>("Alice"),302 get_account_id_from_seed::<sr25519::Public>("Alice"),303 get_from_seed::<AuraId>("Alice"),303 get_from_seed::<AuraId>("Alice"),371 default_runtime,371 default_runtime,372 // Sudo account372 // Sudo account373 get_account_id_from_seed::<sr25519::Public>("Alice"),373 get_account_id_from_seed::<sr25519::Public>("Alice"),374 vec![374 [375 (375 (376 get_account_id_from_seed::<sr25519::Public>("Alice"),376 get_account_id_from_seed::<sr25519::Public>("Alice"),377 get_from_seed::<AuraId>("Alice"),377 get_from_seed::<AuraId>("Alice"),runtime/common/config/pallets/mod.rsdiffbeforeafterboth--- a/runtime/common/config/pallets/mod.rs
+++ b/runtime/common/config/pallets/mod.rs
@@ -24,8 +24,7 @@
weights::CommonWeights,
RelayChainBlockNumberProvider,
},
- Runtime, RuntimeEvent, RuntimeCall, RUNTIME_NAME, TOKEN_SYMBOL, DECIMALS,
- Balances,
+ Runtime, RuntimeEvent, RuntimeCall, RUNTIME_NAME, TOKEN_SYMBOL, DECIMALS, Balances,
};
use frame_support::traits::{ConstU32, ConstU64, Currency};
use up_common::{
runtime/common/ethereum/sponsoring.rsdiffbeforeafterboth--- a/runtime/common/ethereum/sponsoring.rs
+++ b/runtime/common/ethereum/sponsoring.rs
@@ -161,7 +161,8 @@
}
}
CollectionMode::ReFungible => {
- let call = <UniqueRefungibleCall<T>>::parse_full(&call_context.input).ok()??;
+ let call =
+ <UniqueRefungibleCall<T>>::parse_full(&call_context.input).ok()??;
refungible::call_sponsor(call, collection, who).map(|()| sponsor)
}
CollectionMode::Fungible(_) => {