Skip to content

Commit eb4bd69

Browse files
committed
Fix mistaken 0 as u32 replacement with 0_u8 in delegate_stx.rs serialization
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent 8c23c0e commit eb4bd69

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)