@@ -199,9 +199,10 @@ export class AccountAddressRestrictionTransaction extends Transaction {
199199 /**
200200 * @internal
201201 * @param receiptHttp ReceiptHttp
202+ * @param aggregateTransactionIndex Transaction index for aggregated transaction
202203 * @returns {Observable<AccountAddressRestrictionTransaction> }
203204 */
204- resolveAliases ( receiptHttp : ReceiptHttp ) : Observable < AccountAddressRestrictionTransaction > {
205+ resolveAliases ( receiptHttp : ReceiptHttp , aggregateTransactionIndex ?: number ) : Observable < AccountAddressRestrictionTransaction > {
205206 const hasUnresolved = this . restrictionAdditions . find ( ( address ) => address instanceof NamespaceId ) !== undefined ||
206207 this . restrictionDeletions . find ( ( address ) => address instanceof NamespaceId ) !== undefined ;
207208
@@ -217,7 +218,7 @@ export class AccountAddressRestrictionTransaction extends Transaction {
217218 return this . restrictionAdditions . map ( ( addition ) => {
218219 return addition instanceof NamespaceId ?
219220 TransactionService . getResolvedFromReceipt ( ResolutionType . Address , addition as NamespaceId ,
220- statement , transactionInfo . index , transactionInfo . height . toString ( ) ) as Address :
221+ statement , transactionInfo . index , transactionInfo . height . toString ( ) , aggregateTransactionIndex ) as Address :
221222 addition ;
222223 } ) ;
223224 } ) ,
@@ -228,7 +229,7 @@ export class AccountAddressRestrictionTransaction extends Transaction {
228229 return this . restrictionDeletions . map ( ( deletion ) => {
229230 return deletion instanceof NamespaceId ?
230231 TransactionService . getResolvedFromReceipt ( ResolutionType . Address , deletion as NamespaceId ,
231- statement , transactionInfo . index , transactionInfo . height . toString ( ) ) as Address :
232+ statement , transactionInfo . index , transactionInfo . height . toString ( ) , aggregateTransactionIndex ) as Address :
232233 deletion ;
233234 } ) ;
234235 } ) ,
0 commit comments