From 8ebc94bf5f540aabf5cb486b801d864532e4f960 Mon Sep 17 00:00:00 2001 From: Casey Rodarmor Date: Thu, 7 Mar 2024 00:18:45 -0800 Subject: [PATCH] Rename index_envelopes to index_inscriptions --- src/index/updater.rs | 4 ++-- src/index/updater/inscription_updater.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/index/updater.rs b/src/index/updater.rs index 73a1327f5c..840ebccb1a 100644 --- a/src/index/updater.rs +++ b/src/index/updater.rs @@ -537,7 +537,7 @@ impl<'index> Updater<'index> { } } else if index_inscriptions { for (tx, txid) in block.txdata.iter().skip(1).chain(block.txdata.first()) { - inscription_updater.index_envelopes(tx, *txid, None)?; + inscription_updater.index_inscriptions(tx, *txid, None)?; } } @@ -642,7 +642,7 @@ impl<'index> Updater<'index> { index_inscriptions: bool, ) -> Result { if index_inscriptions { - inscription_updater.index_envelopes(tx, txid, Some(input_sat_ranges))?; + inscription_updater.index_inscriptions(tx, txid, Some(input_sat_ranges))?; } for (vout, output) in tx.output.iter().enumerate() { diff --git a/src/index/updater/inscription_updater.rs b/src/index/updater/inscription_updater.rs index ff7ad94f4d..ee10151f1e 100644 --- a/src/index/updater/inscription_updater.rs +++ b/src/index/updater/inscription_updater.rs @@ -70,7 +70,7 @@ pub(super) struct InscriptionUpdater<'a, 'db, 'tx> { } impl<'a, 'db, 'tx> InscriptionUpdater<'a, 'db, 'tx> { - pub(super) fn index_envelopes( + pub(super) fn index_inscriptions( &mut self, tx: &Transaction, txid: Txid,