Skip to content

Commit

Permalink
Fix mistaken 0 as u32 replacement with 0_u8 in delegate_stx.rs serial…
Browse files Browse the repository at this point in the history
…ization

Signed-off-by: Jacinta Ferrant <[email protected]>
  • Loading branch information
jferrant committed Jan 4, 2025
1 parent 8c23c0e commit eb4bd69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stackslib/src/chainstate/burn/operations/delegate_stx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ impl StacksMessageCodec for DelegateStxOp {
} else {
fd.write_all(&0_u8.to_be_bytes())
.map_err(|e| codec_error::WriteError(e))?;
fd.write_all(&0_u8.to_be_bytes())
fd.write_all(&0_u32.to_be_bytes())
.map_err(|e| codec_error::WriteError(e))?;
}

Expand Down

0 comments on commit eb4bd69

Please sign in to comment.