Can we add more information in error messages for invalid address especially the errors mentioned in PR: #20832
Example:
Change
|
error_str = "Invalid prefix for Bech32 address"; |
To
error_str = "Invalid prefix for Bech32 address. Valid Bech32 address starts with `bc1` (mainnet) or `tb1` (testnet)";
Context: bitcoin-core/gui#280 (comment)