Remove MintedForSpending (now unused) (#3917)

This commit is contained in:
Gavin Wood
2019-10-25 14:22:25 +02:00
committed by GitHub
parent cecf3a1438
commit b88b6b5418
2 changed files with 0 additions and 5 deletions
-1
View File
@@ -370,7 +370,6 @@ impl treasury::Trait for Runtime {
type ApproveOrigin = collective::EnsureMembers<_4, AccountId, CouncilCollective>;
type RejectOrigin = collective::EnsureMembers<_2, AccountId, CouncilCollective>;
type Event = Event;
type MintedForSpending = ();
type ProposalRejection = ();
type ProposalBond = ProposalBond;
type ProposalBondMinimum = ProposalBondMinimum;
-4
View File
@@ -102,9 +102,6 @@ pub trait Trait: system::Trait {
/// The overarching event type.
type Event: From<Event<Self>> + Into<<Self as system::Trait>::Event>;
/// Handler for the unbalanced increase when minting cash from the "Pot".
type MintedForSpending: OnUnbalanced<PositiveImbalanceOf<Self>>;
/// Handler for the unbalanced decrease when slashing for a rejected proposal.
type ProposalRejection: OnUnbalanced<NegativeImbalanceOf<Self>>;
@@ -441,7 +438,6 @@ mod tests {
type ApproveOrigin = system::EnsureRoot<u64>;
type RejectOrigin = system::EnsureRoot<u64>;
type Event = ();
type MintedForSpending = ();
type ProposalRejection = ();
type ProposalBond = ProposalBond;
type ProposalBondMinimum = ProposalBondMinimum;