Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega committed Oct 16, 2023
1 parent 3d310a4 commit 442cad3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/storage/applydb/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ impl<'a> From<ApplyBatch<'a>> for WriteBatch {
}

let k = DBInt(from.block_slot);

#[allow(deprecated)]
let v = DBSerde(SlotData {
hash: from.block_hash,
tombstones: vec![],
Expand Down Expand Up @@ -291,7 +293,7 @@ impl ApplyDB {
let hash = *consumed.hash();
let idx = consumed.index();

if batch.contains_utxo(hash.clone(), idx) {
if batch.contains_utxo(hash, idx) {
batch.spend_utxo_same_block(hash, idx);
} else {
let utxo = self
Expand Down

0 comments on commit 442cad3

Please sign in to comment.