Update code that we're going to delete in the next PR anyway

This commit is contained in:
teor 2023-01-17 15:04:36 +10:00
parent a243549d69
commit 1fed70da9e
1 changed files with 2 additions and 2 deletions

View File

@ -222,10 +222,10 @@ fn proposal_block_from_template(
version,
previous_block_hash,
merkle_root,
commitment_bytes: block_commitments_hash.into(),
commitment_bytes: block_commitments_hash.bytes_in_serialized_order().into(),
time: time.into(),
difficulty_threshold,
nonce: [0; 32],
nonce: [0; 32].into(),
solution: Solution::for_proposal(),
}),
transactions: transactions.clone(),