HomePhabricator

[electrum] fix delegator key detection when building multi-level delegation

Description

[electrum] fix delegator key detection when building multi-level delegation

Summary: This was not updated in D14603, and as a result the delegator key would not be automatically filled when pasting an existing delegation in the delegation editor to add another level to it.

Test Plan:
Generate a delegation, using a suggested key as the delegated key. Copy the delegation, close the delegation editor, reopen it, and paste the delegation in the "from exisitng delegation" field. Check that the delegator key is correctly set to the previous delegated key. Add another level with a new suggested key, repeat the test.

python test_runner.py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14802

Details

Provenance
PiRKAuthored on Nov 16 2023, 15:01
PiRKPushed on Nov 17 2023, 12:44
Reviewer
Restricted Project
Differential Revision
D14802: [electrum] fix delegator key detection when building multi-level delegation
Parents
rABC2d395b615920: [e.cash] Use fancy headers on staking page
Branches
Unknown
Tags
Unknown