removed legacy comment
This commit is contained in:
parent
9dff894272
commit
ebe7c09210
10
src/rlp.rs
10
src/rlp.rs
@ -225,16 +225,6 @@ impl RlpStream {
|
|||||||
self.bytes.extend(encode(object));
|
self.bytes.extend(encode(object));
|
||||||
self.len += 1;
|
self.len += 1;
|
||||||
|
|
||||||
//Err(e) => {
|
|
||||||
//self.last_err = Some(e);
|
|
||||||
//return self;
|
|
||||||
//},
|
|
||||||
//Ok(ref mut v) => {
|
|
||||||
//self.bytes.append(v);
|
|
||||||
//self.len += 1;
|
|
||||||
//},
|
|
||||||
//};
|
|
||||||
|
|
||||||
// if list is finished, prepend the length
|
// if list is finished, prepend the length
|
||||||
if self.is_finished() {
|
if self.is_finished() {
|
||||||
self.prepend_the_length();
|
self.prepend_the_length();
|
||||||
|
Loading…
Reference in New Issue
Block a user