Remove direct bitcoin calls from qt/sendcoinsdialog.cpp

This commit is contained in:
Russell Yanofsky 2017-04-20 12:28:58 -04:00 committed by John Newbery
parent e872c93ee8
commit 56f33ca349
3 changed files with 17 additions and 9 deletions

View file

@ -216,7 +216,9 @@ class NodeImpl : public Node
return result;
}
CFeeRate getDustRelayFee() override { return ::dustRelayFee; }
CFeeRate getFallbackFee() override { CHECK_WALLET(return CWallet::fallbackFee); }
CFeeRate getPayTxFee() override { CHECK_WALLET(return ::payTxFee); }
void setPayTxFee(CFeeRate rate) override { CHECK_WALLET(::payTxFee = rate); }
UniValue executeRpc(const std::string& command, const UniValue& params, const std::string& uri) override
{
JSONRPCRequest req;