Adding validation for importgateway CC (#22)

This commit is contained in:
Mihailo Milenkovic
2019-04-18 14:23:12 +02:00
committed by GitHub
parent 3523faadae
commit 0acaa3517f
7 changed files with 143 additions and 215 deletions

View File

@@ -6594,6 +6594,7 @@ UniValue gatewayspartialsign(const UniValue& params, bool fHelp)
coin = params[1].get_str();
parthex = params[2].get_str();
hex = GatewaysPartialSign(0,txid,coin,parthex);
RETURN_IF_ERROR(CCerror);
if ( hex.size() > 0 )
{
result.push_back(Pair("result", "success"));