Skip to content

Commit 12fe1b1

Browse files
committed
Applied catbuffer on aggregate transaction
1 parent e6a9f06 commit 12fe1b1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/model/transaction/MosaicSupplyChangeTransaction.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ import { Transaction } from './Transaction';
3434
import { TransactionInfo } from './TransactionInfo';
3535
import { TransactionType } from './TransactionType';
3636
import { TransactionVersion } from './TransactionVersion';
37+
import { Convert } from '../../core/format';
3738

3839
/**
3940
* In case a mosaic has the flag 'supplyMutable' set to true, the creator of the mosaic can change the supply,

test/model/transaction/AggregateTransaction.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe('AggregateTransaction', () => {
106106
NetworkType.MIJIN_TEST,
107107
[]);
108108

109-
const signedTransaction = aggregateTransaction.signWith(account, generationHash);
109+
const signedTransaction = aggregateTransaction.signWithCatbuffer(account, generationHash);
110110

111111
expect(signedTransaction.payload.substring(0, 8)).to.be.equal('CD000000');
112112
expect(signedTransaction.payload.substring(240, 256)).to.be.equal('5100000051000000');

0 commit comments

Comments
 (0)