Bytes are Display-able
This commit is contained in:
parent
bfbdd7112b
commit
27d0fa8d83
|
@ -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, value));
|
||||
assert!(previous.is_none(), format!("state insertion error: duplicate key {:?} when inserting value {:?}", key_bytes, value_bytes));
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue