mirror of https://github.com/status-im/leopard.git
This is unnecessary
We already check if we have no loss, and if we do have a loss but also no recovery, it will fail with Leopard_NeedMore, so this check isn't actually needed
This commit is contained in:
parent
ad7cbb2ddb
commit
670c5e6ef8
|
@ -291,7 +291,7 @@ LEO_EXPORT LeopardResult leo_decode(
|
|||
}
|
||||
|
||||
// Handle m = 1 case
|
||||
if (recovery_count == 1 && recovery_got_count == 1)
|
||||
if (recovery_count == 1)
|
||||
{
|
||||
DecodeM1(
|
||||
buffer_bytes,
|
||||
|
|
Loading…
Reference in New Issue