Skip to content

Commit

Permalink
Merge pull request #5423 from BitGo/coin-2890-initialize-fee-payer
Browse files Browse the repository at this point in the history
fix(sdk-coin-apt): initialize fee payer address
  • Loading branch information
bhavidhingra authored Jan 24, 2025
2 parents 98b16cf + 358822a commit 64e3039
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/sdk-coin-apt/src/lib/transaction/transaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,14 @@ export abstract class Transaction extends BaseTransaction {
this._gasUsed = 0;
this._expirationTime = Math.floor(Date.now() / 1e3) + SECONDS_PER_WEEK;
this._sequenceNumber = 0;
this._sender = AccountAddress.ZERO.toString();
this._senderSignature = {
publicKey: {
pub: Hex.fromHexInput(Transaction.EMPTY_PUBLIC_KEY).toString(),
},
signature: Transaction.EMPTY_SIGNATURE,
};
this._feePayerAddress = AccountAddress.ZERO.toString();
this._feePayerSignature = {
publicKey: {
pub: Hex.fromHexInput(Transaction.EMPTY_PUBLIC_KEY).toString(),
Expand Down

0 comments on commit 64e3039

Please sign in to comment.