Skip to content

Commit 0cc91f4

Browse files
committed
updated action types value
1 parent 6abee2a commit 0cc91f4

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

src/model/account/RestrictionModificationType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
* Account restriction modification type
1919
*/
2020
export enum RestrictionModificationType {
21-
Add = 0x00,
22-
Remove = 0x01,
21+
Add = 0x01,
22+
Remove = 0x00,
2323
}

src/model/mosaic/MosaicSupplyType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
* 1: Decrease in supply.
2121
*/
2222
export enum MosaicSupplyType {
23-
Decrease = 0,
24-
Increase = 1,
23+
Decrease = 0x00,
24+
Increase = 0x01,
2525
}

src/model/namespace/AliasAction.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* 0: Link an alias.
2020
* 1: Unlink an alias.
2121
*/
22-
export enum AliasAction {
23-
Link = 0,
24-
Unlink = 1,
22+
export enum AliasActionType {
23+
Link = 0x01,
24+
Unlink = 0x00,
2525
}

src/model/transaction/LinkAction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
*/
1616

1717
export enum LinkAction {
18-
Link = 0,
19-
Unlink = 1,
18+
Link = 0x01,
19+
Unlink = 0x00,
2020
}

src/model/transaction/MultisigCosignatoryModificationType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
* 1: Remove cosignatory.
2121
*/
2222
export enum MultisigCosignatoryModificationType {
23-
Add = 0,
24-
Remove = 1,
23+
Add = 0x01,
24+
Remove = 0x00,
2525
}

0 commit comments

Comments
 (0)