File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,19 @@ export class TransactionType {
2929 * Register namespace transaction type.
3030 * @type {number }
3131 */
32- public static readonly REGISTER_NAMESPACE = 0x414e ;
32+ public static readonly REGISTER_NAMESPACE = 0x414E ;
3333
3434 /**
3535 * Mosaic definition transaction type.
3636 * @type {number }
3737 */
38- public static readonly MOSAIC_DEFINITION = 0x414d ;
38+ public static readonly MOSAIC_DEFINITION = 0x414D ;
3939
4040 /**
4141 * Mosaic supply change transaction.
4242 * @type {number }
4343 */
44- public static readonly MOSAIC_SUPPLY_CHANGE = 0x424d ;
44+ public static readonly MOSAIC_SUPPLY_CHANGE = 0x424D ;
4545
4646 /**
4747 * Modify multisig account transaction type.
@@ -64,17 +64,17 @@ export class TransactionType {
6464 * Lock transaction type
6565 * @type {number }
6666 */
67- public static readonly LOCK = 0x414C ;
67+ public static readonly LOCK = 0x4148 ;
6868
6969 /**
7070 * Secret Lock Transaction type
7171 * @type {number }
7272 */
73- public static readonly SECRET_LOCK = 0x424C ;
73+ public static readonly SECRET_LOCK = 0x4152 ;
7474
7575 /**
7676 * Secret Proof transaction type
7777 * @type {number }
7878 */
79- public static readonly SECRET_PROOF = 0x434C ;
79+ public static readonly SECRET_PROOF = 0x4252 ;
8080}
Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ import {TransactionType} from '../../../src/model/transaction/TransactionType';
1919describe ( 'TransactionType' , ( ) => {
2020 it ( 'Should match the specification' , ( ) => {
2121 expect ( TransactionType . TRANSFER ) . to . be . equal ( 0x4154 ) ;
22- expect ( TransactionType . REGISTER_NAMESPACE ) . to . be . equal ( 0x414e ) ;
23- expect ( TransactionType . MOSAIC_DEFINITION ) . to . be . equal ( 0x414d ) ;
24- expect ( TransactionType . MOSAIC_SUPPLY_CHANGE ) . to . be . equal ( 0x424d ) ;
22+ expect ( TransactionType . REGISTER_NAMESPACE ) . to . be . equal ( 0x414E ) ;
23+ expect ( TransactionType . MOSAIC_DEFINITION ) . to . be . equal ( 0x414D ) ;
24+ expect ( TransactionType . MOSAIC_SUPPLY_CHANGE ) . to . be . equal ( 0x424D ) ;
2525 expect ( TransactionType . MODIFY_MULTISIG_ACCOUNT ) . to . be . equal ( 0x4155 ) ;
2626 expect ( TransactionType . AGGREGATE_COMPLETE ) . to . be . equal ( 0x4141 ) ;
2727 expect ( TransactionType . AGGREGATE_BONDED ) . to . be . equal ( 0x4241 ) ;
2828 expect ( TransactionType . AGGREGATE_BONDED ) . to . be . equal ( 0x4241 ) ;
29- expect ( TransactionType . LOCK ) . to . be . equal ( 0x414C ) ;
30- expect ( TransactionType . SECRET_LOCK ) . to . be . equal ( 0x424C ) ;
31- expect ( TransactionType . SECRET_PROOF ) . to . be . equal ( 0x434C ) ;
29+ expect ( TransactionType . LOCK ) . to . be . equal ( 0x4148 ) ;
30+ expect ( TransactionType . SECRET_LOCK ) . to . be . equal ( 0x4152 ) ;
31+ expect ( TransactionType . SECRET_PROOF ) . to . be . equal ( 0x4252 ) ;
3232 } ) ;
3333} ) ;
You can’t perform that action at this time.
0 commit comments