Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

VRF refactory #13889

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix babe pallet mock
  • Loading branch information
davxy committed Apr 13, 2023
commit 4a45cb57f99a8c76c0f2f48b51a033a90705046a
2 changes: 1 addition & 1 deletion frame/babe/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ pub fn make_vrf_output(
let randomness = sp_core::sr25519::vrf::make_bytes::<[u8; RANDOMNESS_LENGTH]>(
sp_consensus_babe::RANDOMNESS_VRF_CONTEXT,
pair.public().as_ref(),
&signature.output,
&transcript,
&signature.output,
)
.expect("vrf make bytes");

Expand Down