This commit is contained in:
blackjok3r
2019-05-25 00:02:31 +08:00
parent 90f310f41a
commit 7bb9ee7ffa

View File

@@ -8028,7 +8028,7 @@ UniValue opreturn_burn(const UniValue& params, bool fHelp)
if (fHelp || (params.size() != 2))
throw runtime_error("amount to burn, hexstring to send\n");
struct CCcontract_info *cp, C; UniValue ret(UniValue::VOBJ);
if (ensure_CCrequirements(EVAL_PAYMENTS) < 0)
if (ensure_CCrequirements(EVAL_ORACLES) < 0)
throw runtime_error("to use CC contracts, you need to launch daemon with valid -pubkey= for an address in your wallet\n");
cp = CCinit(&C, EVAL_ORACLES);