Skip to content

Commit 77b655c

Browse files
author
Greg S
committed
github PR#63: updated transaction versions to cow network upgrade
1 parent d4814ae commit 77b655c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/model/transaction/MosaicDefinitionTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class MosaicDefinitionTransaction extends Transaction {
4747
mosaicProperties: MosaicProperties,
4848
networkType: NetworkType): MosaicDefinitionTransaction {
4949
return new MosaicDefinitionTransaction(networkType,
50-
2,
50+
3,
5151
deadline,
5252
new UInt64([0, 0]),
5353
mosaicNonce,

src/model/transaction/SecretLockTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class SecretLockTransaction extends Transaction {
4949
networkType: NetworkType): SecretLockTransaction {
5050
return new SecretLockTransaction(
5151
networkType,
52-
3,
52+
1,
5353
deadline,
5454
UInt64.fromUint(0),
5555
mosaic,

src/model/transaction/SecretProofTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class SecretProofTransaction extends Transaction {
4343
networkType: NetworkType): SecretProofTransaction {
4444
return new SecretProofTransaction(
4545
networkType,
46-
3,
46+
1,
4747
deadline,
4848
UInt64.fromUint(0),
4949
hashType,

test/model/transaction/AggregateTransaction.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ describe('AggregateTransaction', () => {
124124
expect(signedTransaction.payload.substring(
125125
320,
126126
signedTransaction.payload.length,
127-
)).to.be.equal('02904D41010000000000000001070302E8030000');
127+
)).to.be.equal('03904D41010000000000000001070302E8030000');
128128
});
129129

130130
it('should createComplete an AggregateTransaction object with MosaicSupplyChangeTransaction', () => {

0 commit comments

Comments
 (0)