Add OnSwap hook for crowdloans. (#3017)

This commit is contained in:
Shawn Tabrizi
2021-05-20 16:41:08 -04:00
committed by GitHub
parent 6a0b7b4164
commit 25bbcfd724
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1087,7 +1087,7 @@ impl paras_registrar::Config for Runtime {
type Event = Event;
type Origin = Origin;
type Currency = Balances;
type OnSwap = Slots;
type OnSwap = (Crowdloan, Slots);
type ParaDeposit = ParaDeposit;
type DataDepositPerByte = DataDepositPerByte;
type MaxCodeSize = MaxCodeSize;
+1 -1
View File
@@ -772,7 +772,7 @@ impl paras_registrar::Config for Runtime {
type Event = Event;
type Origin = Origin;
type Currency = Balances;
type OnSwap = Slots;
type OnSwap = (Crowdloan, Slots);
type ParaDeposit = ParaDeposit;
type DataDepositPerByte = DataDepositPerByte;
type MaxCodeSize = MaxCodeSize;