Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
sethkfman committed Apr 2, 2021
1 parent c420f02 commit 32fcd6c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/transaction/TransactionController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,11 +425,7 @@ export class TransactionController extends BaseController<TransactionConfig, Tra
* @param deviceConfirmedOn - enum to indicate what device the transaction was confirmed to append to the generated TransactionMeta
* @returns - Object containing a promise resolving to the transaction hash if approved
*/
async addTransaction(
transaction: Transaction,
origin?: string,
deviceConfirmedOn?: WalletDevice,
): Promise<Result> {
async addTransaction(transaction: Transaction, origin?: string, deviceConfirmedOn?: WalletDevice): Promise<Result> {
const network = this.context.NetworkController as NetworkController;
const { transactions } = this.state;
transaction = normalizeTransaction(transaction);
Expand Down

0 comments on commit 32fcd6c

Please sign in to comment.