File tree 1 file changed +10
-8
lines changed
components/ordhook-core/src/core/protocol
1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -550,6 +550,15 @@ async fn update_tx_inscriptions_with_consensus_sequence_data(
550
550
None => inscription. curse_type . take ( ) ,
551
551
} ;
552
552
553
+ inscription. charms |= Sat ( traversal. ordinal_number ) . charms ( ) ;
554
+ if is_cursed {
555
+ if block_identifier. index >= get_jubilee_block_height ( network) {
556
+ Charm :: Vindicated . set ( & mut inscription. charms ) ;
557
+ } else {
558
+ Charm :: Cursed . set ( & mut inscription. charms ) ;
559
+ }
560
+ }
561
+
553
562
let ( destination, satpoint_post_transfer, output_value) = compute_satpoint_post_transfer (
554
563
& & * tx,
555
564
input_index,
@@ -588,14 +597,7 @@ async fn update_tx_inscriptions_with_consensus_sequence_data(
588
597
}
589
598
} ;
590
599
591
- inscription. charms |= Sat ( traversal. ordinal_number ) . charms ( ) ;
592
- if is_cursed {
593
- if block_identifier. index >= get_jubilee_block_height ( network) {
594
- Charm :: Vindicated . set ( & mut inscription. charms ) ;
595
- } else {
596
- Charm :: Cursed . set ( & mut inscription. charms ) ;
597
- }
598
- } else {
600
+ if !is_cursed {
599
601
// The reinscriptions_data needs to be augmented as we go, to handle transaction chaining.
600
602
reinscriptions_data. insert ( traversal. ordinal_number , traversal. get_inscription_id ( ) ) ;
601
603
}
You can’t perform that action at this time.
0 commit comments