Skip to content
Snippets Groups Projects
Unverified Commit 49356241 authored by bgallois's avatar bgallois
Browse files

fix formatting

parent 6304a459
No related branches found
No related tags found
1 merge request!246Fix weight accounting
This commit is part of merge request !246. Comments created here will be created in the context of that merge request.
......@@ -366,17 +366,13 @@ pub mod pallet {
if verify_rules {
// only verify internal rules if asked
if let Err(e) = Self::check_add_cert_internal(issuer, receiver, block_number) {
sp_std::if_std! {
println!("fail to force add cert: {:?}", e)
}
sp_std::if_std! {println!("fail to force add cert: {:?}", e)}
return T::WeightInfo::do_add_cert_checked();
}
}
if let Err(e) = Self::try_add_cert(block_number, issuer, receiver) {
sp_std::if_std! {
println!("fail to force add cert: {:?}", e)
}
sp_std::if_std! {println!("fail to force add cert: {:?}", e)}
}
T::WeightInfo::do_add_cert_checked()
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment