Skip to content

Commit 28baaf8

Browse files
committed
refactor: fix call to get account
1 parent 546dc9d commit 28baaf8

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/bridge-status-controller/src/bridge-status-controller.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1605,10 +1605,7 @@ export class BridgeStatusController extends StaticIntervalPollingController<Brid
16051605
const { quoteResponse, signature, accountAddress } = params;
16061606

16071607
// Build pre-confirmation properties for error tracking parity with submitTx
1608-
const account = this.messenger.call(
1609-
'AccountsController:getAccountByAddress',
1610-
accountAddress,
1611-
);
1608+
const account = this.#getMultichainSelectedAccount(accountAddress);
16121609
const isHardwareAccount = Boolean(account) && isHardwareWallet(account);
16131610
const preConfirmationProperties = getPreConfirmationPropertiesFromQuote(
16141611
quoteResponse,

0 commit comments

Comments
 (0)