added additionalEvalcode2 in test_burntx

This commit is contained in:
dimxy
2019-02-12 01:29:49 +05:00
parent e15764f362
commit 0a9f2e0b8e

View File

@@ -7848,6 +7848,11 @@ UniValue test_burntx(const UniValue& params, bool fHelp)
cp = CCinit(&C, EVAL_TOKENS);
std::vector<uint8_t> vopret;
GetNonfungibleData(tokenid, vopret);
if (vopret.size() > 0)
cp->additionalTokensEvalcode2 = vopret.begin()[0];
uint8_t tokenpriv[33];
char unspendableTokenAddr[64];
CPubKey unspPk = GetUnspendable(cp, tokenpriv);