Skip to content

Commit

Permalink
Set correct statistic when indexing transactions (ordinals#2913)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored and torkelrogstad committed Mar 11, 2024
1 parent a0d3b72 commit e57c2cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ impl Index {

Self::set_statistic(&mut statistics, Statistic::IndexRunes, u64::from(index_runes))?;
Self::set_statistic(&mut statistics, Statistic::IndexSats, u64::from(index_sats))?;
Self::set_statistic(&mut statistics, Statistic::IndexSats, u64::from(index_transactions))?;
Self::set_statistic(&mut statistics, Statistic::IndexTransactions, u64::from(index_transactions))?;
Self::set_statistic(&mut statistics, Statistic::Schema, SCHEMA_VERSION)?;
}

Expand Down

0 comments on commit e57c2cf

Please sign in to comment.