File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/cardano-services/src/ChainHistory/DbSyncChainHistory Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export class ChainHistoryBuilder {
51
51
public async queryTransactionInputsByIds ( ids : string [ ] , collateral = false ) : Promise < TxInput [ ] > {
52
52
this . #logger. debug ( `About to find inputs (collateral: ${ collateral } ) for transactions with ids:` , ids ) ;
53
53
const result : QueryResult < TxInputModel > = await this . #db. query ( {
54
- name : `tx_${ collateral ? 'collateral ' : 'inputs' } _by_tx_ids ` ,
54
+ name : `tx_${ collateral ? 'collateral_ ' : '' } inputs_by_tx_ids ` ,
55
55
text : collateral ? Queries . findTxCollateralsByIds : Queries . findTxInputsByIds ,
56
56
values : [ ids ]
57
57
} ) ;
@@ -71,7 +71,7 @@ export class ChainHistoryBuilder {
71
71
public async queryTransactionOutputsByIds ( ids : string [ ] , collateral = false ) : Promise < TxOutput [ ] > {
72
72
this . #logger. debug ( `About to find outputs (collateral: ${ collateral } ) for transactions with ids:` , ids ) ;
73
73
const result : QueryResult < TxOutputModel > = await this . #db. query ( {
74
- name : `tx_${ collateral ? 'collateral ' : 'outputs' } _by_tx_ids ` ,
74
+ name : `tx_${ collateral ? 'collateral_ ' : '' } outputs_by_tx_ids ` ,
75
75
text : collateral ? Queries . findCollateralOutputsByTxIds : Queries . findTxOutputsByIds ,
76
76
values : [ ids ]
77
77
} ) ;
You can’t perform that action at this time.
0 commit comments