From b46ec8f149aa06581b0b18c09d5c75b62f5970e7 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Thu, 4 Aug 2022 08:06:17 +0300 Subject: [PATCH] feat: less technical labels for addresses --- .../static/components/wallet-list/wallet-list.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lnbits/extensions/watchonly/static/components/wallet-list/wallet-list.js b/lnbits/extensions/watchonly/static/components/wallet-list/wallet-list.js index b6b434b6..dcc862a9 100644 --- a/lnbits/extensions/watchonly/static/components/wallet-list/wallet-list.js +++ b/lnbits/extensions/watchonly/static/components/wallet-list/wallet-list.js @@ -19,7 +19,7 @@ async function walletList(path) { formDialog: { show: false, - addressType: 'wpkh', + addressType: [], useSerialPort: false, data: { title: '', @@ -31,25 +31,25 @@ async function walletList(path) { showCreating: false, addressTypeOptions: [ { - label: 'Pay-to-pubkey-hash scripts (P2PKH)', + label: 'Legacy (P2PKH)', value: 'pkh', pathMainnet: "m/44'/0'/0'", pathTestnet: "m/44'/1'/0'" }, { - label: 'Pay-to-witness-pubkey-hash scripts (P2WPKH)', + label: 'Segwit (P2WPKH)', value: 'wpkh', pathMainnet: "m/84'/0'/0'", pathTestnet: "m/84'/1'/0'" }, { - label: 'Pay-to-script-hash scripts (P2SH-P2WPKH)', + label: 'Wrapped Segwit (P2SH-P2WPKH)', value: 'sh', pathMainnet: "m/49'/0'/0'", pathTestnet: "m/49'/1'/0'" }, { - label: 'Pay-to-taproot outputs (P2TR)', + label: 'Taproot (P2TR)', value: 'tr', pathMainnet: "m/86'/0'/0'", pathTestnet: "m/86'/1'/0'"