Skip to content

Commit 65b563e

Browse files
committed
typo fixed
1 parent bba26cd commit 65b563e

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/model/transaction/AccountPropertyTransaction.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ export class AccountPropertyTransaction {
5252
* @param networkType - The network type.
5353
* @returns {ModifyAccountPropertyMosaicTransaction}
5454
*/
55-
public static createMosaicProertyModificationTransaction(deadline: Deadline,
56-
propertyType: PropertyType,
57-
modifications: Array<AccountPropertyModification<number[]>>,
58-
networkType: NetworkType): ModifyAccountPropertyMosaicTransaction {
55+
public static createMosaicPropertyModificationTransaction(deadline: Deadline,
56+
propertyType: PropertyType,
57+
modifications: Array<AccountPropertyModification<number[]>>,
58+
networkType: NetworkType): ModifyAccountPropertyMosaicTransaction {
5959
if (![PropertyType.AllowMosaic, PropertyType.BlockMosaic].includes(propertyType)) {
6060
throw new Error ('Property type is not allowed.');
6161
}

test/model/transaction/AccountPropertyTransaction.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe('AccountPropertyTransaction', () => {
110110
PropertyModificationType.Add,
111111
mosaicId,
112112
);
113-
const mosaicPropertyTransaction = AccountPropertyTransaction.createMosaicProertyModificationTransaction(
113+
const mosaicPropertyTransaction = AccountPropertyTransaction.createMosaicPropertyModificationTransaction(
114114
Deadline.create(),
115115
PropertyType.AllowMosaic,
116116
[mosaicPropertyFilter],
@@ -135,7 +135,7 @@ describe('AccountPropertyTransaction', () => {
135135
);
136136

137137
expect(() => {
138-
AccountPropertyTransaction.createMosaicProertyModificationTransaction(
138+
AccountPropertyTransaction.createMosaicPropertyModificationTransaction(
139139
Deadline.create(),
140140
PropertyType.Sentinel,
141141
[mosaicPropertyFilter],

0 commit comments

Comments
 (0)