Page MenuHomePhabricator

[electrum] prefill the delegator key in the delegation editor when possible
ClosedPublic

Authored by PiRK on Mar 15 2024, 09:25.

Details

Summary

We already prefill that key when pasting a delegation and its delegated key is recognized as an auxiliary key from this wallet.
Do it also when pasting a proof and its master pubkey is recognized.

Test Plan

Open the delegation editor in a wallet from which a key was used to produce a proof. Paste the proof in the "From proof" tab. Check that the delegator priv key field is prefilled.

Check also that the feature still works when pasting a delegation.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
dg_editor_detect_key
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27885
Build 55321: Build Diffelectrum-tests
Build 55320: arc lint + arc unit