Skip to content

Commit 597736e

Browse files
author
Grégory Saive
authored
Merge pull request #102 from NemTechCD/fix/transactionFeeInit
Code consistency: updated UInt64 usage to use constructor in all inits
2 parents 1aee137 + bc79b01 commit 597736e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/model/transaction/LockFundsTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class LockFundsTransaction extends Transaction {
5656
networkType,
5757
TransactionVersion.LOCK,
5858
deadline,
59-
UInt64.fromUint(0),
59+
new UInt64([0, 0]),
6060
mosaic,
6161
duration,
6262
signedTransaction,

src/model/transaction/SecretLockTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class SecretLockTransaction extends Transaction {
5252
networkType,
5353
TransactionVersion.SECRET_LOCK,
5454
deadline,
55-
UInt64.fromUint(0),
55+
new UInt64([0, 0]),
5656
mosaic,
5757
duration,
5858
hashType,

src/model/transaction/SecretProofTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class SecretProofTransaction extends Transaction {
4646
networkType,
4747
TransactionVersion.SECRET_PROOF,
4848
deadline,
49-
UInt64.fromUint(0),
49+
new UInt64([0, 0]),
5050
hashType,
5151
secret,
5252
proof,

0 commit comments

Comments
 (0)