We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f7a97b commit c6bbe69Copy full SHA for c6bbe69
zebrad/tests/common/get_block_template_rpcs/get_block_template.rs
@@ -222,10 +222,10 @@ fn proposal_block_from_template(
222
version,
223
previous_block_hash,
224
merkle_root,
225
- commitment_bytes: block_commitments_hash.into(),
+ commitment_bytes: block_commitments_hash.bytes_in_serialized_order().into(),
226
time: time.into(),
227
difficulty_threshold,
228
- nonce: [0; 32],
+ nonce: [0; 32].into(),
229
solution: Solution::for_proposal(),
230
}),
231
transactions: transactions.clone(),
0 commit comments