corr mysingletokenscond in FinalizeCCtx

(corr err message in rpc call)
This commit is contained in:
dimxy
2019-01-16 11:45:21 +05:00
parent dddda4e32b
commit ee848abde9
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@ std::string FinalizeCCTx(uint64_t CCmask,struct CCcontract_info *cp,CMutableTran
cpTokens = CCinit(&tokensC, EVAL_TOKENS);
GetCCaddress(cpTokens, mysingletokensaddr, mypk);
mysingletokenscond = MakeCCcond1(cpTokens->evalcode, mypk);
mysingletokenscond = MakeCCcond1(EVAL_TOKENS, mypk);
unspendablepk = GetUnspendable(cp,unspendablepriv);
GetCCaddress(cp,unspendable,unspendablepk);

View File

@@ -7346,7 +7346,7 @@ UniValue tokenfillask(const UniValue& params, bool fHelp)
result.push_back(Pair("result", "success"));
result.push_back(Pair("hex", hex));
} else {
ERR_RESULT("couldnt fill bid");
ERR_RESULT("couldnt fill ask");
}
} else {
ERR_RESULT("fillunits must be positive");