openswap icon indicating copy to clipboard operation
openswap copied to clipboard

quirk: addresses in BTC wallet are displayed using cashaddr

Open molecular opened this issue 6 years ago • 3 comments

if you set "use cashaddr format" in preferences, cashaddr format is used even in BTC wallet.

obviously legacy format should be used always for BTC wallet regardless of setting in prefs.

molecular avatar Dec 17 '18 10:12 molecular

in addition I just observed very confusing behaviour

  • went to my BTC wallet window
  • I unchecked "cashaddr" in tools / preferences
  • go to receive tab
  • observe "receiving address" is legacy format
  • BUT: observe: qr-code displayed is legacy format but qr-code still has "bitcoincash:" prefix

EDIT: Ooops, sorry. I see this is actually an upstream bug in electron-cash. Will open an issue there.

molecular avatar Dec 17 '18 10:12 molecular

Yeah, the cashaddr / legacy thing is unfortunately done with a global variable switch. So, it will be tough to support separate address format displays for BCH and BTC. Unfortunately, the only feasible solution right now seems to be disabling cashaddr support.

markblundeberg avatar Dec 18 '18 23:12 markblundeberg

ok, I understand. Thanks for the info.

molecular avatar Dec 20 '18 10:12 molecular