Fix
This commit is contained in:
@@ -690,6 +690,7 @@ char *get_gatewaysmultisig(char *refcoin,char *acname,char *txidaddr,int32_t *K)
|
|||||||
{
|
{
|
||||||
if ( (hexstr= jstr(retjson,"hex")) != 0 )
|
if ( (hexstr= jstr(retjson,"hex")) != 0 )
|
||||||
hex = clonestr(hexstr);
|
hex = clonestr(hexstr);
|
||||||
|
*K=jint(retjson,"number_of_signs");
|
||||||
free_json(retjson);
|
free_json(retjson);
|
||||||
}
|
}
|
||||||
return(hex);
|
return(hex);
|
||||||
|
|||||||
@@ -5600,13 +5600,7 @@ UniValue gatewaysmultisig(const UniValue& params, bool fHelp)
|
|||||||
const CKeyStore& keystore = *pwalletMain;
|
const CKeyStore& keystore = *pwalletMain;
|
||||||
LOCK2(cs_main, pwalletMain->cs_wallet);
|
LOCK2(cs_main, pwalletMain->cs_wallet);
|
||||||
txidaddr = (char *)params[0].get_str().c_str();
|
txidaddr = (char *)params[0].get_str().c_str();
|
||||||
hex = GatewaysMultisig(txidaddr);
|
return(GatewaysMultisig(txidaddr));
|
||||||
if ( hex.size() > 0 )
|
|
||||||
{
|
|
||||||
result.push_back(Pair("result", "success"));
|
|
||||||
result.push_back(Pair("hex",hex));
|
|
||||||
} else ERR_RESULT("couldnt gatewaysmultisig");
|
|
||||||
return(result);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
UniValue gatewayspartialsign(const UniValue& params, bool fHelp)
|
UniValue gatewayspartialsign(const UniValue& params, bool fHelp)
|
||||||
|
|||||||
Reference in New Issue
Block a user