[Trivial] Use 'into_inner' for WeakBoundedVec (#1664)

Prevents authority set clone
This commit is contained in:
Davide Galassi authored and GitHub committed 2023-09-21 19:25:48 +01:00
1 parent 93bb4926b3
commit cb7559f698
3 files changed
+9 -12

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ fn first_block_epoch_zero_start() {
let consensus_log = sp_consensus_babe::ConsensusLog::NextEpochData(
sp_consensus_babe::digests::NextEpochDescriptor {
authorities: Babe::authorities().to_vec(),
authorities: Babe::authorities().into_inner(),
randomness: Babe::randomness(),
},
);