updated todo
This commit is contained in:
parent
bd6289756b
commit
fac89f784b
@ -322,7 +322,7 @@ impl<'a> UntrustedRlp<'a> {
|
|||||||
|
|
||||||
/// return first item info
|
/// return first item info
|
||||||
///
|
///
|
||||||
/// TODO: move this to decode_untrustedr?
|
/// TODO: move this to decoder (?)
|
||||||
fn item_info(bytes: &[u8]) -> Result<ItemInfo, DecoderError> {
|
fn item_info(bytes: &[u8]) -> Result<ItemInfo, DecoderError> {
|
||||||
let item = match bytes.first().map(|&x| x) {
|
let item = match bytes.first().map(|&x| x) {
|
||||||
None => return Err(DecoderError::RlpIsTooShort),
|
None => return Err(DecoderError::RlpIsTooShort),
|
||||||
|
Loading…
Reference in New Issue
Block a user