Skip to content

Commit 4a98ddb

Browse files
committed
updated action types value
1 parent bf80aa6 commit 4a98ddb

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
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/AliasActionType.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@
2020
* 1: Unlink an alias.
2121
*/
2222
export enum AliasActionType {
23-
Link = 1,
24-
Unlink = 0,
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)