Page MenuHomePhabricator

rpc: change no wallet loaded message to be clearer
ClosedPublic

Authored by PiRK on Nov 5 2021, 15:32.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC0a59221f3dea: rpc: change no wallet loaded message to be clearer
Summary

Changes the no wallet is loaded rpc error message to be clearer that no
wallet is loaded and how the user can load or create a wallet. Also
changes the error code from METHOD_NOT_FOUND to RPC_WALLET_NOT_FOUND as
that makes more sense.

This is a backport of core#20101

Test Plan

ninja all check-all

Diff Detail

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