Check for invalid modules when registering a pallet in construct_runtime (#4520)

This commit is contained in:
Bastian Köcher
2020-01-02 20:10:20 +01:00
committed by GitHub
parent 508f94acdf
commit 4a9697db94
5 changed files with 31 additions and 16 deletions
@@ -251,7 +251,7 @@ construct_runtime!(
Aura: aura::{Module, Config<T>, Inherent(Timestamp)},
Grandpa: grandpa::{Module, Call, Storage, Config, Event},
Indices: indices,
Balances: balances::{default, Error},
Balances: balances,
TransactionPayment: transaction_payment::{Module, Storage},
Sudo: sudo,
// Used for the module template in `./template.rs`