Skip to content

Commit 358822a

Browse files
committed
fix(sdk-coin-apt): initialize fee payer address
TICKET: COIN-2890
1 parent 98b16cf commit 358822a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/sdk-coin-apt/src/lib/transaction/transaction.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,14 @@ export abstract class Transaction extends BaseTransaction {
5555
this._gasUsed = 0;
5656
this._expirationTime = Math.floor(Date.now() / 1e3) + SECONDS_PER_WEEK;
5757
this._sequenceNumber = 0;
58+
this._sender = AccountAddress.ZERO.toString();
5859
this._senderSignature = {
5960
publicKey: {
6061
pub: Hex.fromHexInput(Transaction.EMPTY_PUBLIC_KEY).toString(),
6162
},
6263
signature: Transaction.EMPTY_SIGNATURE,
6364
};
65+
this._feePayerAddress = AccountAddress.ZERO.toString();
6466
this._feePayerSignature = {
6567
publicKey: {
6668
pub: Hex.fromHexInput(Transaction.EMPTY_PUBLIC_KEY).toString(),

0 commit comments

Comments
 (0)