Skip to content

Commit 3889238

Browse files
author
Aleix602
committed
CHANGED Transaction.ts local variable name
1 parent 98998e7 commit 3889238

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

src/model/transaction/Transaction.ts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,14 @@ export abstract class Transaction {
8383
* @returns {SignedTransaction}
8484
*/
8585
public signWith(account: Account): SignedTransaction {
86-
const transferTransaction = this.buildTransaction();
87-
const signedTransactionRaw = transferTransaction.signTransaction(account);
88-
return new SignedTransaction(signedTransactionRaw.payload, signedTransactionRaw.hash, account.publicKey, this.type, this.networkType);
86+
const transaction = this.buildTransaction();
87+
const signedTransactionRaw = transaction.signTransaction(account);
88+
return new SignedTransaction(
89+
signedTransactionRaw.payload,
90+
signedTransactionRaw.hash,
91+
account.publicKey,
92+
this.type,
93+
this.networkType);
8994
}
9095

9196
/**

0 commit comments

Comments
 (0)