We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b76a872 commit da9ee40Copy full SHA for da9ee40
libsigner/src/v0/messages.rs
@@ -1331,7 +1331,7 @@ impl StacksMessageCodec for RejectReason {
1331
1332
fn consensus_deserialize<R: Read>(fd: &mut R) -> Result<Self, CodecError> {
1333
let Ok(type_prefix_byte) = read_next::<u8, _>(fd) else {
1334
- return Ok(RejectReason::NotRejected);
+ return Ok(RejectReason::Unknown(RejectReasonPrefix::Unknown as u8));
1335
};
1336
let type_prefix = RejectReasonPrefix::from(type_prefix_byte);
1337
let code = match type_prefix {
0 commit comments