diff --git a/src/uint/encoding/rlp.rs b/src/uint/encoding/rlp.rs index 112efb1e..2ec5d943 100644 --- a/src/uint/encoding/rlp.rs +++ b/src/uint/encoding/rlp.rs @@ -27,7 +27,7 @@ where fn decode(rlp: &Rlp<'_>) -> Result { rlp.decoder().decode_value(|bytes| { if bytes.first().cloned() == Some(0) { - Err(rlp::DecoderError::RlpInvalidIndirection) + Err(DecoderError::RlpInvalidIndirection) } else { let mut repr = ::Repr::default(); let offset = repr