Page MenuHomePhabricator

[qt] Display more helpful message when adding a send address has failed

Authored by deadalnix on Jul 12 2019, 18:12.



Addresses #12796.

When we're unable to add a sending address to the address book because it
already exists as a receiving address, display a message indicating as much.
This should help avoid confusion about an address supposedly already in the
book but which isn't currently visible in the interface.

This is a partial backport of Core PR12830 :

Depends on D3668

Test Plan
make check

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jasonbcox added a subscriber: jasonbcox.
jasonbcox added inline comments.
50 ↗(On Diff #10270)

nit: comment style

This revision is now accepted and ready to land.Jul 16 2019, 03:13