Skip to content

Commit 6e9b221

Browse files
committed
Renamed transaction version keys to match transaction type for account property transactions
1 parent 1e64da6 commit 6e9b221

File tree

5 files changed

+6
-43
lines changed

5 files changed

+6
-43
lines changed

src/model/transaction/ModifyAccountPropertyAddressTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class ModifyAccountPropertyAddressTransaction extends Transaction {
4141
modifications: Array<AccountPropertyModification<string>>,
4242
networkType: NetworkType): ModifyAccountPropertyAddressTransaction {
4343
return new ModifyAccountPropertyAddressTransaction(networkType,
44-
TransactionVersion.ACCOUNT_PROPERTY_ADDRESS_TRANSACTION,
44+
TransactionVersion.MODIFY_ACCOUNT_PROPERTY_ADDRESS,
4545
deadline,
4646
new UInt64([0, 0]),
4747
propertyType,

src/model/transaction/ModifyAccountPropertyEntityTypeTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class ModifyAccountPropertyEntityTypeTransaction extends Transaction {
4242
modifications: Array<AccountPropertyModification<number>>,
4343
networkType: NetworkType): ModifyAccountPropertyEntityTypeTransaction {
4444
return new ModifyAccountPropertyEntityTypeTransaction(networkType,
45-
TransactionVersion.ACCOUNT_PROPERTY_ENTITY_TYPE_TRANSACTION,
45+
TransactionVersion.MODIFY_ACCOUNT_PROPERTY_ENTITY_TYPE,
4646
deadline,
4747
new UInt64([0, 0]),
4848
propertyType,

src/model/transaction/ModifyAccountPropertyMosaicTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export class ModifyAccountPropertyMosaicTransaction extends Transaction {
4141
modifications: Array<AccountPropertyModification<number[]>>,
4242
networkType: NetworkType): ModifyAccountPropertyMosaicTransaction {
4343
return new ModifyAccountPropertyMosaicTransaction(networkType,
44-
TransactionVersion.ACCOUNT_PROPERTY_MOSAIC_TRANSACTION,
44+
TransactionVersion.MODIFY_ACCOUNT_PROPERTY_MOSAIC,
4545
deadline,
4646
new UInt64([0, 0]),
4747
propertyType,

src/model/transaction/TransactionTypeEnum.ts

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/model/transaction/TransactionVersion.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,17 @@ export class TransactionVersion {
102102
* Account Property address transaction version
103103
* @type {number}
104104
*/
105-
public static readonly ACCOUNT_PROPERTY_ADDRESS_TRANSACTION = 1;
105+
public static readonly MODIFY_ACCOUNT_PROPERTY_ADDRESS = 1;
106106

107107
/**
108108
* Account Property mosaic transaction version
109109
* @type {number}
110110
*/
111-
public static readonly ACCOUNT_PROPERTY_MOSAIC_TRANSACTION = 1;
111+
public static readonly MODIFY_ACCOUNT_PROPERTY_MOSAIC = 1;
112112

113113
/**
114114
* Account Property entity type transaction version
115115
* @type {number}
116116
*/
117-
public static readonly ACCOUNT_PROPERTY_ENTITY_TYPE_TRANSACTION = 1;
117+
public static readonly MODIFY_ACCOUNT_PROPERTY_ENTITY_TYPE = 1;
118118
}

0 commit comments

Comments
 (0)