From f786ce6aba86c5383cb5546d6ae09120bb9949da Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Wed, 23 Aug 2017 17:21:33 +0300 Subject: [PATCH] fix instantsendtoaddress param convertion (#1585) `subtractfeefromamount` is bool but `true`/`false` are not recognized in rpc atm. This should fix it. --- src/rpc/client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index ac492e9cb..1c2f40de7 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -37,6 +37,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "sendtoaddress", 5 }, { "sendtoaddress", 6 }, { "instantsendtoaddress", 1 }, + { "instantsendtoaddress", 4 }, { "settxfee", 0 }, { "getreceivedbyaddress", 1 }, { "getreceivedbyaccount", 1 },