lost spaces again
This commit is contained in:
parent
48d1760b7f
commit
e592a185ef
@ -333,7 +333,7 @@ impl<'a> Decoder for BasicDecoder<'a> {
|
||||
Some(l @ 0x80...0xb7) => {
|
||||
let last_index_of = 1 + l as usize - 0x80;
|
||||
if bytes.len() < last_index_of {
|
||||
return Err(DecoderError::RlpInconsistentLengthAndData);
|
||||
return Err(DecoderError::RlpInconsistentLengthAndData);
|
||||
}
|
||||
let d = &bytes[1..last_index_of];
|
||||
if l == 0x81 && d[0] < 0x80 {
|
||||
|
Loading…
Reference in New Issue
Block a user