Skip to content

Commit deb19ba

Browse files
author
Greg S
committed
fix #48: update XEM mosaic id to chain mosaic id on current testnet
1 parent bb46252 commit deb19ba

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/model/mosaic/XEM.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ export class XEM extends Mosaic {
5050
/**
5151
* mosaicId
5252
*
53-
* UInt64 XEM mosaic ID: [3294802500, 2243684972]
53+
* UInt64 XEM mosaic ID: [481110499, 231112638]
5454
* Hexadecimal XEM mosaic ID: 85bbea6cc462b244
5555
*
5656
* @type {Id}
5757
*/
58-
public static MOSAIC_ID = new MosaicId([3294802500, 2243684972]);
58+
public static MOSAIC_ID = new MosaicId([481110499, 231112638]);
5959

6060
/**
6161
* constructor

test/model/mosaic/XEM.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ describe('XEM', () => {
2626

2727
const xem = XEM.createRelative(1000);
2828

29-
deepEqual(xem.id.id.toHex(), '85bbea6cc462b244');
29+
deepEqual(xem.id.id.toHex(), '0dc67fbe1cad29e3');
3030
expect(xem.amount.compact()).to.be.equal(1000 * 1000000);
3131
});
3232

@@ -37,6 +37,6 @@ describe('XEM', () => {
3737
});
3838

3939
it('should have valid statics', () => {
40-
deepEqual(XEM.MOSAIC_ID.id, new MosaicId([3294802500, 2243684972]).id);
40+
deepEqual(XEM.MOSAIC_ID.id, new MosaicId([481110499, 231112638]).id);
4141
});
4242
});

test/model/transaction/TransferTransaction.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ describe('TransferTransaction', () => {
7272
expect(signedTransaction.payload.substring(
7373
240,
7474
signedTransaction.payload.length,
75-
)).to.be.equal('9050B9837EFAB4BBE8A4B9BB32D812F9885C00D8FC1650E1420D000100746573742D6D657373616765' +
76-
'44B262C46CEABB8500E1F50500000000');
75+
)).to.be.equal(
76+
'9050B9837EFAB4BBE8A4B9BB32D812F9885C00D8FC1650E1420D000100746573742D6D657373616765' +
77+
'E329AD1CBE7FC60D00E1F50500000000');
7778
});
7879
});

0 commit comments

Comments
 (0)