spesmilo / spesmilo/electrum

Exception: unexptected legacy address type: 86000

Open
#7,461 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
8.6k
Forks
3.5k
Avg merge
2d 8h
Merged PRs (30d)
61

Description

Crash Report

This crash report was reported through the automatic crash reporting system 🤖

Traceback

Traceback (most recent call last):
  File "electrum\gui\qt\__init__.py", line 418, in main
  File "electrum\gui\qt\__init__.py", line 292, in wrapper
  File "electrum\gui\qt\__init__.py", line 317, in start_new_window
  File "electrum\gui\qt\__init__.py", line 362, in _start_wizard_to_select_or_create_wallet
  File "electrum\wallet_db.py", line 73, in __init__
  File "electrum\wallet_db.py", line 104, in load_data
  File "electrum\wallet_db.py", line 199, in _after_upgrade_tasks
  File "electrum\util.py", line 420, in <lambda>
  File "electrum\util.py", line 416, in do_profile
  File "electrum\wallet_db.py", line 1267, in _load_transactions
  File "electrum\json_db.py", line 79, in __init__
  File "electrum\json_db.py", line 44, in wrapper
  File "electrum\json_db.py", line 105, in __setitem__
  File "electrum\wallet_db.py", line 1310, in _convert_dict
  File "electrum\wallet_db.py", line 1310, in <genexpr>
  File "electrum\invoices.py", line 111, in from_json
  File "<attrs generated init electrum.invoices.OnchainInvoice>", line 8, in __init__
    self.outputs = __attr_converter_outputs(outputs)
  File "electrum\invoices.py", line 71, in _decode_outputs
  File "electrum\transaction.py", line 134, in from_legacy_tuple
Exception: unexptected legacy address type: 86000

Exception: unexptected legacy address type: 86000

Reporter

This issue was reported by 1 user(s):

Electrum Version Python Version Operating System Wallet Type Locale Stack
4.1.5 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:08:11) [MSC v.1928 32 bit (Intel)] Windows-10-10.0.17763-SP0 ru_RU

Additional Information

The reporting user(s) did not provide additional information.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at transaction.py line 134, then trace the callers in invoices.py line 71 and wallet_db.py line 1267 to understand how the legacy output value 86000 is decoded. Reproduce loading the affected wallet and confirm it completes without the reported exception; add regression coverage if the project’s existing tests provide a suitable path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.