Skip to content

Commit

Permalink
Remove AccountIndex from runtime (#204)
Browse files Browse the repository at this point in the history
This commit removes the `AccountIndex` from the runtime/src/lib.rs as the `AccountIndex` type is typically used to configure the Indices pallet (https://substrate.dev/rustdocs/v3.0.0/pallet_indices/trait.Config.html) which is not used by the node template, so there is no point to include it.
  • Loading branch information
disconnect3d authored Jun 20, 2021
1 parent 18210c6 commit d9015c9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ pub type Signature = MultiSignature;
/// to the public key of our transaction signing scheme.
pub type AccountId = <<Signature as Verify>::Signer as IdentifyAccount>::AccountId;

/// The type for looking up accounts. We don't expect more than 4 billion of them, but you
/// never know...
pub type AccountIndex = u32;

/// Balance of an account.
pub type Balance = u128;

Expand Down

0 comments on commit d9015c9

Please sign in to comment.