Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ppca committed Mar 24, 2023
1 parent 02849cb commit 7d75029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/chain/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1985,7 +1985,7 @@ impl<'a> ChainStoreUpdate<'a> {
for header_hash in header_hashes {
// 3. Delete header_hash-indexed data
let mut store_update = self.store().store_update();
let key = header_hash.as_bytes();
let key: &[u8] = header_hash.as_bytes();
store_update.delete(DBCol::BlockHeader, key);
self.chain_store.headers.pop(key);
}
Expand Down

0 comments on commit 7d75029

Please sign in to comment.