From c6bbe69b85d81d2f66d02f51a823f482eab29d95 Mon Sep 17 00:00:00 2001 From: teor Date: Tue, 17 Jan 2023 15:04:36 +1000 Subject: [PATCH] Update code that we're going to delete in the next PR anyway --- .../common/get_block_template_rpcs/get_block_template.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zebrad/tests/common/get_block_template_rpcs/get_block_template.rs b/zebrad/tests/common/get_block_template_rpcs/get_block_template.rs index b3509428de6..93c59670d60 100644 --- a/zebrad/tests/common/get_block_template_rpcs/get_block_template.rs +++ b/zebrad/tests/common/get_block_template_rpcs/get_block_template.rs @@ -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(),