Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
breathx committed Sep 14, 2023
1 parent 4a7432b commit 1ff74d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gsdk/src/metadata/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ macro_rules! export_module_error {
// //
// // `pallet_fellowship_collective => 18`
// 19 => {
// let mb_error = RanckedCollective::decode(&mut raw.error.as_ref());
// let mb_error = RankedCollective::decode(&mut raw.error.as_ref());
// match mb_error {
// Ok(e) => ModuleError::RanckedCollective(e),
// Ok(e) => ModuleError::RankedCollective(e),
// Err(_) => ModuleError::Unknown {
// pallet_index: raw.pallet_index,
// error: raw.error,
Expand Down Expand Up @@ -112,7 +112,7 @@ export_module_error! {
// pallet_treasury => Treasury => 14,
// pallet_conviction_voting => ConvictionVoting => 16,
// pallet_referenda => Referenda => 17,
// pallet_ranked_collective => RanckedCollective => 18,
// pallet_ranked_collective => RankedCollective => 18,
// pallet_whitelist => Whitelist => 21,
pallet_sudo => Sudo => 99,
// pallet_scheduler => Scheduler => 22,
Expand Down

0 comments on commit 1ff74d7

Please sign in to comment.