diff --git a/app/lib/dal/indexDAL/leveldb/LevelDBSindex.ts b/app/lib/dal/indexDAL/leveldb/LevelDBSindex.ts index 9b3ea4bcfe44e901e2c3eeb9b01e7b2c139baa69..439713bbc138431235a9d3f32ac50a8828bac93b 100644 --- a/app/lib/dal/indexDAL/leveldb/LevelDBSindex.ts +++ b/app/lib/dal/indexDAL/leveldb/LevelDBSindex.ts @@ -129,9 +129,9 @@ export class LevelDBSindex extends LevelDBTable<SindexEntry> pos: number; }[] > { - const forConditions = await this.getForConditions(`SIG(${pubkey})`); - const forPubkeys = await this.getForComplexeConditionPubkey(pubkey); - const reduced = Indexer.DUP_HELPERS.reduceBy(forConditions.concat(forPubkeys), [ + const forSimpleConditions = await this.getForConditions(`SIG(${pubkey})`); + const forComplexConditions = await this.getForComplexeConditionPubkey(pubkey); + const reduced = Indexer.DUP_HELPERS.reduceBy(forSimpleConditions.concat(forComplexConditions), [ "identifier", "pos", ]);