code cleanup (#2206)

This commit is contained in:
Xiliang Chen
2019-04-05 03:55:55 +13:00
committed by Gav Wood
parent acaf1fe625
commit cb7a8161f5
2 changed files with 5 additions and 7 deletions
+4 -4
View File
@@ -129,7 +129,7 @@ impl session::Trait for Runtime {
}
impl staking::Trait for Runtime {
type Currency = balances::Module<Self>;
type Currency = Balances;
type CurrencyToVote = CurrencyToVoteHandler;
type OnRewardMinted = Treasury;
type Event = Event;
@@ -138,7 +138,7 @@ impl staking::Trait for Runtime {
}
impl democracy::Trait for Runtime {
type Currency = balances::Module<Self>;
type Currency = Balances;
type Proposal = Call;
type Event = Event;
}
@@ -160,7 +160,7 @@ impl council::motions::Trait for Runtime {
}
impl treasury::Trait for Runtime {
type Currency = balances::Module<Self>;
type Currency = Balances;
type ApproveOrigin = council_motions::EnsureMembers<_4>;
type RejectOrigin = council_motions::EnsureMembers<_2>;
type Event = Event;
@@ -169,7 +169,7 @@ impl treasury::Trait for Runtime {
}
impl contract::Trait for Runtime {
type Currency = balances::Module<Runtime>;
type Currency = Balances;
type Call = Call;
type Event = Event;
type Gas = u64;