diff --git a/src/components/Modals/Send/utils.ts b/src/components/Modals/Send/utils.ts index 0d3ac715378..34c92bd0518 100644 --- a/src/components/Modals/Send/utils.ts +++ b/src/components/Modals/Send/utils.ts @@ -217,6 +217,7 @@ export const handleSend = async ({ const senderAddress = await adapter.getAddress({ accountNumber: accountMetadata.bip44Params.accountNumber, + accountType: accountMetadata.accountType, wallet, }) diff --git a/src/components/MultiHopTrade/hooks/useTradeExecution/useTradeExecution.ts b/src/components/MultiHopTrade/hooks/useTradeExecution/useTradeExecution.ts index f793c0b20f5..d5b4df0669b 100644 --- a/src/components/MultiHopTrade/hooks/useTradeExecution/useTradeExecution.ts +++ b/src/components/MultiHopTrade/hooks/useTradeExecution/useTradeExecution.ts @@ -175,7 +175,7 @@ export const useTradeExecution = ({ if (accountType === undefined) throw Error('Missing UTXO account type') const adapter = assertGetUtxoChainAdapter(stepSellAssetChainId) const { xpub } = await adapter.getPublicKey(wallet, accountNumber, accountType) - const _senderAddress = await adapter.getAddress({ accountNumber, wallet }) + const _senderAddress = await adapter.getAddress({ accountNumber, accountType, wallet }) const senderAddress = stepSellAssetAssetId === bchAssetId ? _senderAddress.replace('bitcoincash:', '')