Expose tracks as a constant. (#12273)

* Expose tracks as a constant.

* Formatting
This commit is contained in:
Gavin Wood authored and GitHub committed 2022-09-15 18:59:06 +01:00
1 parent a4ebb6d31c
commit c7e3ba09ab
3 files changed
+38 -6

No files matched your search

+1
View File
@@ -828,6 +828,7 @@ impl pallet_referenda::TracksInfo<Balance, BlockNumber> for TracksInfo {
}
}
}
pallet_referenda::impl_tracksinfo_get!(TracksInfo, Balance, BlockNumber);
impl pallet_referenda::Config for Runtime {
type WeightInfo = pallet_referenda::weights::SubstrateWeight<Self>;