Remove indention level made redundant by early-return
This commit is contained in:
@@ -124,7 +124,7 @@ impl TryFrom<&[u8]> for APDU {
|
||||
le: 0x00,
|
||||
case_type: ApduType::Instruction,
|
||||
});
|
||||
} else {
|
||||
}
|
||||
// Lc is not zero-bytes in length, let's figure out how long it is
|
||||
let byte_0 = payload[0];
|
||||
if payload.len() == 1 {
|
||||
@@ -225,7 +225,7 @@ impl TryFrom<&[u8]> for APDU {
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return Err(ApduStatusCode::SW_INTERNAL_EXCEPTION);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user