Skip to content

Commit

Permalink
Make the APIs compatible after a merge
Browse files Browse the repository at this point in the history
  • Loading branch information
upbqdn committed Dec 20, 2023
1 parent 64928e3 commit 645e9c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zebra-scan/src/storage/db/sapling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl Storage {
value: Some(sapling_result),
};

batch = batch.zs_insert(entry.index, entry.value);
batch = batch.zs_insert(&entry.index, &entry.value);
}

batch
Expand Down Expand Up @@ -249,6 +249,6 @@ impl<'cf> InsertSaplingHeight for WriteSaplingTxIdsBatch<'cf> {
let index = SaplingScannedDatabaseIndex::min_for_key_and_height(sapling_key, height);

// TODO: assert that we don't overwrite any entries here.
self.zs_insert(index, None)
self.zs_insert(&index, &None)
}
}

0 comments on commit 645e9c8

Please sign in to comment.