HomePhabricator

minor rework of SendMoney in rpcwallet
25cf6f3d41b3Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

minor rework of SendMoney in rpcwallet

  • rework the function to not log errors but use throw JSONRPCError
  • remove a check for IsLocked() that is done in sendtoaddress and sendfrom RPC calls already
  • cache GetBalance() return value, because it's possibly used twice

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Dec 9 2014, 13:50
deadalnixPushed on May 14 2017, 22:04
Parents
rABC93b7544501d6: Merge pull request #5319
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rABC25cf6f3d41b3: minor rework of SendMoney in rpcwallet (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Feb 4 2015, 14:11