Skip to content

Commit

Permalink
Merge pull request #5653 from stacks-network/fix/delegate-stx-op-u32
Browse files Browse the repository at this point in the history
Fix mistaken 0 as u32 replacement with 0_u8 in delegate_stx.rs serial…
  • Loading branch information
jcnelson authored Jan 4, 2025
2 parents 95d511e + eb4bd69 commit bbde40f
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 bbde40f

Please sign in to comment.