Skip to content

Commit e188a55

Browse files
committed
Fixed lint issues
1 parent c92f39d commit e188a55

21 files changed

+21
-31
lines changed

e2e/infrastructure/Listener.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { TransactionRepository } from '../../src/infrastructure/TransactionRepos
2222
import { Account } from '../../src/model/account/Account';
2323
import { NetworkType } from '../../src/model/blockchain/NetworkType';
2424
import { PlainMessage } from '../../src/model/message/PlainMessage';
25-
import { Address, CosignatureTransaction, LockFundsTransaction, Mosaic, SignedTransaction, UInt64, } from '../../src/model/model';
25+
import { Address, CosignatureTransaction, LockFundsTransaction, Mosaic, SignedTransaction, UInt64 } from '../../src/model/model';
2626
import { MosaicId } from '../../src/model/mosaic/MosaicId';
2727
import { NetworkCurrencyMosaic } from '../../src/model/mosaic/NetworkCurrencyMosaic';
2828
import { NamespaceId } from '../../src/model/namespace/NamespaceId';

src/core/utils/TransactionMapping.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import { CreateTransactionFromDTO } from '../../infrastructure/transaction/CreateTransactionFromDTO';
1818
import {
1919
CreateTransactionFromInnerPayload,
20-
CreateTransactionFromPayload
20+
CreateTransactionFromPayload,
2121
} from '../../infrastructure/transaction/CreateTransactionFromPayload';
2222
import { Transaction } from '../../model/transaction/Transaction';
2323

src/infrastructure/Listener.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { TransactionStatusError } from '../model/transaction/TransactionStatusEr
3131
import { TransferTransaction } from '../model/transaction/TransferTransaction';
3232
import { UInt64 } from '../model/UInt64';
3333
import { IListener } from './IListener';
34-
import { CreateTransactionFromDTO, extractBeneficiary, } from './transaction/CreateTransactionFromDTO';
34+
import { CreateTransactionFromDTO, extractBeneficiary } from './transaction/CreateTransactionFromDTO';
3535

3636
enum ListenerChannelName {
3737
block = 'block',

src/infrastructure/transaction/CreateTransactionFromPayload.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import {
5757
SecretLockTransactionBuilder,
5858
SecretProofTransactionBuilder,
5959
TransactionHelper,
60-
TransferTransactionBuilder
60+
TransferTransactionBuilder,
6161
} from 'catbuffer';
6262
import { Convert, Convert as convert } from '../../core/format';
6363
import { Deadline, PublicAccount, UInt64 } from '../../model/model';
@@ -215,6 +215,3 @@ export const CreateTransactionFromEmbeddedTransactionBuilder = (builder: Embedde
215215

216216
return toBuilder().toAggregate(signer);
217217
};
218-
219-
220-

src/model/transaction/AccountAddressRestrictionTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export class AccountAddressRestrictionTransaction extends Transaction {
116116
return UnresolvedMapping.toUnresolvedAddress(Convert.uint8ToHex(deletion.unresolvedAddress));
117117
}),
118118
networkType,
119-
maxFee
119+
maxFee,
120120
);
121121
}
122122

src/model/transaction/AccountLinkTransaction.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ export class AccountLinkTransaction extends Transaction {
8989
super(TransactionType.ACCOUNT_LINK, networkType, version, deadline, maxFee, signature, signer, transactionInfo);
9090
}
9191

92-
9392
/**
9493
* Creates a transaction from catbuffer body builders.
9594
* @internal

src/model/transaction/AccountMetadataTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class AccountMetadataTransaction extends Transaction {
130130
builder.getValueSizeDelta(),
131131
Convert.uint8ToUtf8(builder.getValue()),
132132
networkType,
133-
maxFee
133+
maxFee,
134134
);
135135
}
136136

src/model/transaction/AccountMosaicRestrictionTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class AccountMosaicRestrictionTransaction extends Transaction {
115115
builder.getRestrictionDeletions().map((deletion) => {
116116
return UnresolvedMapping.toUnresolvedMosaic(new UInt64(deletion.unresolvedMosaicId).toHex());
117117
}),
118-
networkType, maxFee
118+
networkType, maxFee,
119119
);
120120
}
121121

src/model/transaction/AccountOperationRestrictionTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class AccountOperationRestrictionTransaction extends Transaction {
104104
builder.getRestrictionFlags().valueOf(),
105105
builder.getRestrictionAdditions(),
106106
builder.getRestrictionDeletions(),
107-
networkType, maxFee
107+
networkType, maxFee,
108108
);
109109
}
110110

src/model/transaction/AggregateTransaction.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,16 @@ export class AggregateTransaction extends Transaction {
159159
innerTransactions,
160160
networkType,
161161
consignatures,
162-
maxFee
162+
maxFee,
163163
) : AggregateTransaction.createBonded(
164164
deadline,
165165
innerTransactions,
166166
networkType,
167167
consignatures,
168-
maxFee
168+
maxFee,
169169
);
170170
}
171171

172-
173172
/**
174173
* @description add inner transactions to current list
175174
* @param {Transaction[]} transactions the transactions to be added
@@ -386,7 +385,7 @@ export class AggregateTransaction extends Transaction {
386385
return DtoMapping.assign(this,
387386
{
388387
innerTransactions: this.innerTransactions.map((tx) => tx.resolveAliases(statement, transactionInfo.index))
389-
.sort((a, b) => a.transactionInfo!.index - b.transactionInfo!.index)
388+
.sort((a, b) => a.transactionInfo!.index - b.transactionInfo!.index),
390389
});
391390
}
392391
}

0 commit comments

Comments
 (0)