This commit is contained in:
blackjok3r
2019-05-25 00:00:58 +08:00
parent d6b6112104
commit 90f310f41a

View File

@@ -8030,7 +8030,7 @@ UniValue opreturn_burn(const UniValue& params, bool fHelp)
struct CCcontract_info *cp, C; UniValue ret(UniValue::VOBJ);
if (ensure_CCrequirements(EVAL_PAYMENTS) < 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_PAYMENTS);
cp = CCinit(&C, EVAL_ORACLES);
CAmount nAmount = AmountFromValue(params[0]);
if (nAmount <= 10000)