From 320fb38a2f69724ba1a3bbb9190d4ebb454c179c Mon Sep 17 00:00:00 2001 From: Robert Habermeier <rphmeier@gmail.com> Date: Tue, 20 Aug 2019 20:32:14 +0200 Subject: [PATCH] pay out slashes to the treasury (#3446) --- substrate/node/runtime/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/substrate/node/runtime/src/lib.rs b/substrate/node/runtime/src/lib.rs index b1e4065b5f7..e17e0085f03 100644 --- a/substrate/node/runtime/src/lib.rs +++ b/substrate/node/runtime/src/lib.rs @@ -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; -- GitLab