From 7d78d9ace6a66acc1e8b0215f7f8cf717dd22f45 Mon Sep 17 00:00:00 2001 From: Robert Habermeier Date: Tue, 20 Aug 2019 18:33:14 +0200 Subject: [PATCH] pay out slashes to the treasury (#391) --- polkadot/runtime/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polkadot/runtime/src/lib.rs b/polkadot/runtime/src/lib.rs index eb1eb95786..874cb7dcd6 100644 --- a/polkadot/runtime/src/lib.rs +++ b/polkadot/runtime/src/lib.rs @@ -287,7 +287,7 @@ impl staking::Trait for Runtime { type CurrencyToVote = CurrencyToVoteHandler; type Event = Event; type Currency = Balances; - type Slash = (); + type Slash = Treasury; type Reward = (); type SessionsPerEra = SessionsPerEra; type BondingDuration = BondingDuration;