Page MenuHomePhabricator

Only handle cashaddr prefix in OpenURIDialog

Authored by deadalnix on Jul 3 2019, 18:27.



This allows for code simplification.

Test Plan
make src/qt/bitcoin-qt

Run bitcoin-qt on testnet. Use file, open URI and make sure the expected prefix correspond to cashaddr.

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

deadalnix created this revision.Jul 3 2019, 18:27
Herald added a reviewer: Restricted Project. · View Herald TranscriptJul 3 2019, 18:27
deadalnix updated this revision to Diff 9981.Jul 4 2019, 16:10

Remove leftover header that is not required anymore

Looks good I think ... this should change nothing of the behaviour when run with default settings (cashaddr on), right?

markblundeberg accepted this revision.Jul 5 2019, 16:27
This revision is now accepted and ready to land.Jul 5 2019, 16:27
This revision was automatically updated to reflect the committed changes.