Skip to content

Commit

Permalink
fix: provide path correctly in send flow
Browse files Browse the repository at this point in the history
  • Loading branch information
derHowie committed Apr 22, 2024
1 parent 427a25c commit 6adbb3c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/entries/popup/handlers/trezor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ const getPath = async (address: Address) => {
export async function sendTransactionFromTrezor(
transaction: TransactionRequest,
): Promise<TransactionResponse> {
const serializedTransaction = await signTransactionFromTrezor(transaction);
const path = await getPath(transaction.from as Address);
const serializedTransaction = await signTransactionFromTrezor(
transaction,
path,
);
const provider = getProvider({
chainId: transaction.chainId,
});
Expand Down

0 comments on commit 6adbb3c

Please sign in to comment.