diff options
Diffstat (limited to 'packages/taler-wallet-webextension/src')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx b/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx index b20fc2d59..185021bc0 100644 --- a/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx +++ b/packages/taler-wallet-webextension/src/components/BankDetailsByPaytoType.tsx @@ -63,12 +63,11 @@ export function BankDetailsByPaytoType({ <li> {payto.targetPath} {Amounts.stringifyValue(amount)} BTC </li> - <li> - {payto.addr1} {Amounts.stringifyValue(min)} BTC - </li> - <li> - {payto.addr2} {Amounts.stringifyValue(min)} BTC - </li> + {payto.segwitAddrs.map((addr, i) => ( + <li key={i}> + {addr} {Amounts.stringifyValue(min)} BTC + </li> + ))} </ul> <i18n.Translate> In Electrum wallet paste the following three lines in 'Pay @@ -78,12 +77,11 @@ export function BankDetailsByPaytoType({ <li> {payto.targetPath},{Amounts.stringifyValue(amount)} </li> - <li> - {payto.addr1},{Amounts.stringifyValue(min)} - </li> - <li> - {payto.addr2},{Amounts.stringifyValue(min)} - </li> + {payto.segwitAddrs.map((addr, i) => ( + <li key={i}> + {addr} {Amounts.stringifyValue(min)} BTC + </li> + ))} </ul> <i18n.Translate> Make sure the amount show{" "} |