Revert "Bytes are Display-able"
This reverts commit c48e24e89bc6d43854f1e0e165349c9646fc36bc.
This commit is contained in:
parent
27d0fa8d83
commit
1a9490dc4f
|
|
@ -246,7 +246,7 @@ impl SledSerialize for sled::transaction::TransactionalTree {
|
||||||
let value_bytes = value.into_ivec();
|
let value_bytes = value.into_ivec();
|
||||||
let previous = self.insert(key_bytes, value_bytes)?;
|
let previous = self.insert(key_bytes, value_bytes)?;
|
||||||
|
|
||||||
assert!(previous.is_none(), format!("state insertion error: duplicate key {:?} when inserting value {:?}", key_bytes, value_bytes));
|
assert!(previous.is_none(), format!("state insertion error: duplicate key {:?} when inserting value {:?}", key, value));
|
||||||
|
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue