Fix oraclefeed bugs and gatewaysmultisig rpc call

This commit is contained in:
Mihailo Milenkovic
2018-10-19 16:17:37 +02:00
parent 07b1fe7785
commit 39e950f8d8
2 changed files with 5 additions and 4 deletions

View File

@@ -5593,7 +5593,7 @@ UniValue gatewayspending(const UniValue& params, bool fHelp)
UniValue gatewaysmultisig(const UniValue& params, bool fHelp)
{
UniValue result(UniValue::VOBJ); uint256 bindtxid,withtxid; std::string coin,hex; char *txidaddr;
if ( fHelp || params.size() != 2 )
if ( fHelp || params.size() != 4 )
throw runtime_error("gatewaysmultisig bindtxid coin withtxid txidaddr\n");
if ( ensure_CCrequirements() < 0 )
throw runtime_error("to use CC contracts, you need to launch daemon with valid -pubkey= for an address in your wallet\n");