Skip to content

Commit

Permalink
fix build stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed Oct 25, 2024
1 parent 3ec638a commit 2ea8e2a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions components/stacks-codec/src/codec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4386,12 +4386,12 @@ impl MockProposal {
TupleData::from_data(vec![
(
"stacks-tip-consensus-hash".into(),
Value::buff_from(self.peer_info.stacks_tip_consensus_hash.as_bytes().into())
Value::buff_from((*self.peer_info.stacks_tip_consensus_hash.as_bytes()).into())
.unwrap(),
),
(
"stacks-tip".into(),
Value::buff_from(self.peer_info.stacks_tip.as_bytes().into()).unwrap(),
Value::buff_from((*self.peer_info.stacks_tip.as_bytes()).into()).unwrap(),
),
(
"stacks-tip-height".into(),
Expand All @@ -4404,7 +4404,7 @@ impl MockProposal {
),
(
"pox-consensus".into(),
Value::buff_from(self.peer_info.pox_consensus.as_bytes().into()).unwrap(),
Value::buff_from((*self.peer_info.pox_consensus.as_bytes()).into()).unwrap(),
),
])
.expect("Error creating signature hash"),
Expand All @@ -4420,11 +4420,11 @@ impl MockProposal {
TupleData::from_data(vec![
(
"miner-signature-hash".into(),
Value::buff_from(self.miner_signature_hash().as_bytes().into()).unwrap(),
Value::buff_from((*self.miner_signature_hash().as_bytes()).into()).unwrap(),
),
(
"miner-signature".into(),
Value::buff_from(self.signature.as_bytes().into()).unwrap(),
Value::buff_from((*self.signature.as_bytes()).into()).unwrap(),
),
])
.expect("Error creating signature hash"),
Expand Down

0 comments on commit 2ea8e2a

Please sign in to comment.