Revert "Bytes are Display-able"

This reverts commit c48e24e89b.
This commit is contained in:
Deirdre Connolly 2020-11-05 15:27:29 -05:00 committed by Deirdre Connolly
parent 27d0fa8d83
commit 1a9490dc4f
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ impl SledSerialize for sled::transaction::TransactionalTree {
let value_bytes = value.into_ivec();
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(())
}