Skip to content

Commit

Permalink
Speed up indexing of re-inscriptions (ordinals#2608)
Browse files Browse the repository at this point in the history
  • Loading branch information
SmarakNayak authored Oct 30, 2023
1 parent 8409ce9 commit 8cdcca7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index/updater/inscription_updater.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ impl<'a, 'db, 'tx> InscriptionUpdater<'a, 'db, 'tx> {
} else if inscription.pushnum {
Some(Curse::Pushnum)
} else if inscribed_offsets.contains_key(&offset) {
let seq_num = self.id_to_entry.len()?;
let seq_num = self.next_sequence_number;

let sat = Self::calculate_sat(input_sat_ranges, offset);

Expand Down

0 comments on commit 8cdcca7

Please sign in to comment.