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

Prevents authority set clone
This commit is contained in:
Davide Galassi
2023-09-21 20:25:48 +02:00
committed by GitHub
parent 93bb4926b3
commit cb7559f698
3 changed files with 9 additions and 12 deletions
+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(),
},
);