@@ -427,7 +427,7 @@ struct InternalDatabaseIndexes {
427
427
ids_index : HashMap < EventId , ArcEventIndex > ,
428
428
author_index : HashMap < PublicKeyPrefix , BTreeSet < ArcEventIndex > > ,
429
429
kind_author_index : HashMap < ( Kind , PublicKeyPrefix ) , BTreeSet < ArcEventIndex > > ,
430
- kind_author_tags_index :
430
+ param_replaceable_index :
431
431
HashMap < ( Kind , PublicKeyPrefix , [ u8 ; TAG_INDEX_VALUE_SIZE ] ) , ArcEventIndex > ,
432
432
deleted_ids : HashSet < EventId > ,
433
433
deleted_coordinates : HashMap < Coordinate , Timestamp > ,
@@ -577,7 +577,7 @@ impl InternalDatabaseIndexes {
577
577
578
578
if kind. is_parameterized_replaceable ( ) {
579
579
if let Some ( identifier) = e. tags . identifier ( ) {
580
- self . kind_author_tags_index
580
+ self . param_replaceable_index
581
581
. insert ( ( kind, pubkey_prefix, identifier) , e. clone ( ) ) ;
582
582
}
583
583
}
@@ -612,7 +612,7 @@ impl InternalDatabaseIndexes {
612
612
613
613
if ev. kind . is_parameterized_replaceable ( ) {
614
614
if let Some ( identifier) = ev. tags . identifier ( ) {
615
- self . kind_author_tags_index
615
+ self . param_replaceable_index
616
616
. remove ( & ( ev. kind , ev. pubkey , identifier) ) ;
617
617
}
618
618
}
@@ -726,7 +726,7 @@ impl InternalDatabaseIndexes {
726
726
}
727
727
728
728
let ev = self
729
- . kind_author_tags_index
729
+ . param_replaceable_index
730
730
. get ( & ( kind, author, identifier) ) ?;
731
731
732
732
if self . deleted_ids . contains ( & ev. event_id ) {
0 commit comments