Page MenuHomePhabricator

[electrum] exclude already added utxos when adding more wallet UTXOs to a proof
ClosedPublic

Authored by PiRK on Oct 8 2025, 13:01.

Details

Summary

When adding additional stakes from the wallet to an existing proof, it is confusing to have to choose from a list that contains already added stakes.
Filter the list accordingly.

Test Plan

Select a few coins, right click, Build Avalanche Proof, click "add coins from wallet" button and check that the list now no longer has the coins already in the proof.

Event Timeline

PiRK requested review of this revision.Oct 8 2025, 13:01

don't break python 3.9 support

electrum/electrumabc_gui/qt/avalanche/proof_editor.py
545

from transaction.py

class OutPoint:
    ...   
    def __str__(self):
        return f"{self.txid.to_string()}:{self.n}"
This revision is now accepted and ready to land.Oct 8 2025, 14:36