From 37ce3972f9bc37c0b96ed78814dc99303b202859 Mon Sep 17 00:00:00 2001
From: Sebastian <sebasjm@gmail.com>
Date: Wed, 20 Apr 2022 13:25:13 -0300
Subject: refactor payto and test

---
 packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx')

diff --git a/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx b/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx
index a8c6b3c1a..8b8d375de 100644
--- a/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/ManualWithdrawPage.tsx
@@ -66,9 +66,6 @@ export function ManualWithdrawPage({ currency, onCancel }: Props): VNode {
       );
       const payto = response.exchangePaytoUris[0];
       const paytoURI = parsePaytoUri(payto);
-      if (paytoURI && paytoURI.isKnown && paytoURI.targetType === "bitcoin") {
-        paytoURI.generateSegwitAddress(response.reservePub);
-      }
       setSuccess({ exchangeBaseUrl, response, amount, paytoURI, payto });
     } catch (e) {
       if (e instanceof Error) {
-- 
cgit v1.2.3

