Skip to content
Snippets Groups Projects
Commit 320fb38a authored by asynchronous rob's avatar asynchronous rob Committed by Gavin Wood
Browse files

pay out slashes to the treasury (#3446)

parent 71cee78d
No related merge requests found
......@@ -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;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment