Add OnSwap hook for crowdloans. (#3017)

This commit is contained in:
Shawn Tabrizi authored and GitHub committed 2021-05-20 22:41:08 +02:00
1 parent 6a0b7b4164
commit 25bbcfd724
2 files changed
+2 -2

No files matched your search

+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;