Skip to content

Commit bbde40f

Browse files
authored
Merge pull request #5653 from stacks-network/fix/delegate-stx-op-u32
Fix mistaken 0 as u32 replacement with 0_u8 in delegate_stx.rs serial…
2 parents 95d511e + eb4bd69 commit bbde40f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stackslib/src/chainstate/burn/operations/delegate_stx.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl StacksMessageCodec for DelegateStxOp {
237237
} else {
238238
fd.write_all(&0_u8.to_be_bytes())
239239
.map_err(|e| codec_error::WriteError(e))?;
240-
fd.write_all(&0_u8.to_be_bytes())
240+
fd.write_all(&0_u32.to_be_bytes())
241241
.map_err(|e| codec_error::WriteError(e))?;
242242
}
243243

0 commit comments

Comments
 (0)