@@ -1629,9 +1629,11 @@ pub fn update_storage_and_augment_bitcoin_block_with_inscription_reveal_data_tx(
1629
1629
1630
1630
let mut latest_cursed_inscription_loaded = false ;
1631
1631
let mut latest_cursed_inscription_number = 0 ;
1632
+ let mut cursed_inscription_sequence_updated = false ;
1632
1633
1633
1634
let mut latest_blessed_inscription_loaded = false ;
1634
1635
let mut latest_blessed_inscription_number = 0 ;
1636
+ let mut blessed_inscription_sequence_updated = false ;
1635
1637
1636
1638
let mut sats_overflow = vec ! [ ] ;
1637
1639
@@ -1772,7 +1774,11 @@ pub fn update_storage_and_augment_bitcoin_block_with_inscription_reveal_data_tx(
1772
1774
) ;
1773
1775
} ) ;
1774
1776
insert_entry_in_inscriptions ( & inscription, & block. block_identifier , & transaction, & ctx) ;
1775
-
1777
+ if inscription. curse_type . is_some ( ) {
1778
+ cursed_inscription_sequence_updated = true ;
1779
+ } else {
1780
+ blessed_inscription_sequence_updated = true ;
1781
+ }
1776
1782
storage_updated = true ;
1777
1783
}
1778
1784
@@ -1797,12 +1803,17 @@ pub fn update_storage_and_augment_bitcoin_block_with_inscription_reveal_data_tx(
1797
1803
insert_entry_in_inscriptions ( & inscription, & block. block_identifier , & transaction, & ctx) ;
1798
1804
latest_blessed_inscription_number += 1 ;
1799
1805
storage_updated = true ;
1806
+ if inscription. curse_type . is_some ( ) {
1807
+ cursed_inscription_sequence_updated = true ;
1808
+ } else {
1809
+ blessed_inscription_sequence_updated = true ;
1810
+ }
1800
1811
}
1801
1812
1802
- if latest_cursed_inscription_loaded {
1813
+ if cursed_inscription_sequence_updated {
1803
1814
inscription_height_hint. cursed = Some ( block. block_identifier . index ) ;
1804
1815
}
1805
- if latest_blessed_inscription_loaded {
1816
+ if blessed_inscription_sequence_updated {
1806
1817
inscription_height_hint. blessed = Some ( block. block_identifier . index ) ;
1807
1818
}
1808
1819
0 commit comments