MarcoFalke 7a24cca829
Merge #19100: refactor: Combine GetWalletForJSONRPCRequest and EnsureWalletIsAvailable functions
f42f5e58f5fd063d5feec3eadf4a4040a941d4af refactor: Combine GetWalletForJSONRPCRequest and EnsureWalletIsAvailable functions (Russell Yanofsky)

Pull request description:

  This simplifies control flow and also helps get rid of the ::vpwallets variable in #19101 since EnsureWalletIsAvailable doesn't have access to the request context.

ACKs for top commit:
  MarcoFalke:
    ACK f42f5e58f5fd063d5feec3eadf4a4040a941d4af (reviewed code to check that this is a refactor) 💢
  promag:
    Tested ACK f42f5e58f5fd063d5feec3eadf4a4040a941d4af.

Tree-SHA512: eb10685de3db3c1d10c3a797d8da5c8c731e4a8c9024bbb7245929ba767a77a52783a739b8cb1fa7af6fcd233dcf9c8ebbe414eb8b902e2542601aac18625997
2020-06-11 09:52:16 -04:00
..
2020-05-28 02:13:19 -04:00
2020-05-28 02:13:19 -04:00
2020-05-24 10:34:52 -07:00
2019-10-15 22:56:43 +00:00
2020-05-25 12:39:40 -04:00
2020-05-25 12:39:40 -04:00
2020-05-25 12:39:40 -04:00