disable token imports on LABS. fix getimports RPC
This commit is contained in:
@@ -535,6 +535,8 @@ bool CheckMigration(Eval *eval, const CTransaction &importTx, const CTransaction
|
||||
|
||||
uint256 tokenid = zeroid;
|
||||
if (vimportOpret.begin()[0] == EVAL_TOKENS) { // for tokens (new opret with tokens)
|
||||
if ( is_STAKED(ASSETCHAINS_SYMBOL) == 1 )
|
||||
return eval->Invalid("no-tokens-migrate-on-LABS");
|
||||
struct CCcontract_info *cpTokens, CCtokens_info;
|
||||
std::vector<std::pair<uint8_t, vscript_t>> oprets;
|
||||
uint8_t evalCodeInOpret;
|
||||
|
||||
Reference in New Issue
Block a user