Page MenuHomePhabricator

Return error when no ScriptPubKeyMan is available for specified type
ClosedPublic

Authored by deadalnix on Nov 19 2020, 15:22.

Details

Summary

When a CWallet doesn't have a ScriptPubKeyMan for the requested type
in GetNewDestination, give a meaningful error. Also handle this in
Qt which did not do anything with errors.

Backport of Core PR16528 [39/43] : https://github.com/bitcoin/bitcoin/pull/16528/commits/3c19fdd2a2fd5394fcfa75b2ba84ab2277cbdabf

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable