pay out slashes to the treasury (#3446)

This commit is contained in:
Robert Habermeier
2019-08-20 20:32:14 +02:00
committed by Gavin Wood
parent 71cee78d85
commit 320fb38a2f
+2 -2
View File
@@ -237,8 +237,8 @@ impl staking::Trait for Runtime {
type CurrencyToVote = CurrencyToVoteHandler;
type OnRewardMinted = Treasury;
type Event = Event;
type Slash = ();
type Reward = ();
type Slash = Treasury; // send the slashed funds to the treasury.
type Reward = (); // rewards are minted from the void
type SessionsPerEra = SessionsPerEra;
type BondingDuration = BondingDuration;
type SessionInterface = Self;