Page MenuHomePhabricator

Backport Core PR10931: Fix misleading "Method not found" multiwallet errors
Closed, ResolvedPublic

Description

commit 0b11a07848754347add990a2b2cff4828ffa2be0
Merge: ba1bbb049 df389bca2
Author: Wladimir J. van der Laan <laanwj@gmail.com>
Date: Thu Jul 27 17:51:14 2017 +0200

Merge #10931: Fix misleading "Method not found" multiwallet errors

df389bc Change wallet method disabled error text (Russell Yanofsky)
e526b3d Fix misleading "Method not found" multiwallet errors (Russell Yanofsky)

Pull request description:

  Raise RPC_WALLET_NOT_SPECIFIED instead of RPC_METHOD_NOT_FOUND when a required
  wallet filename was not specified in an RPC call.

  Also raise more specific RPC_WALLET_NOT_FOUND error instead of
  RPC_INVALID_PARAMETER in case an invalid wallet was specified, for consistency.

Tree-SHA512: 6a8d885283f69bcfc28f2e08ac03eff02f9f8160a312ce2a90d868aa52533434fc0b4c4ab86547c2f09392338956df915637eaf7136a4fc105e6c8179f2d0ac8

Event Timeline

schancel created this task.Jan 21 2018, 05:33
matiu claimed this task.Jan 23 2018, 15:10