Skip to content

Commit c6bbe69

Browse files
committed
Update code that we're going to delete in the next PR anyway
1 parent 6f7a97b commit c6bbe69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zebrad/tests/common/get_block_template_rpcs/get_block_template.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -222,10 +222,10 @@ fn proposal_block_from_template(
222222
version,
223223
previous_block_hash,
224224
merkle_root,
225-
commitment_bytes: block_commitments_hash.into(),
225+
commitment_bytes: block_commitments_hash.bytes_in_serialized_order().into(),
226226
time: time.into(),
227227
difficulty_threshold,
228-
nonce: [0; 32],
228+
nonce: [0; 32].into(),
229229
solution: Solution::for_proposal(),
230230
}),
231231
transactions: transactions.clone(),

0 commit comments

Comments
 (0)