Skip to content

Commit

Permalink
Support changing issuer of NFTs
Browse files Browse the repository at this point in the history
  • Loading branch information
dexX7 committed Aug 24, 2022
1 parent 29ebd2d commit d9dee85
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/omnicore/tx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2477,9 +2477,11 @@ int CMPTransaction::logicMath_RevokeTokens(CBlockIndex* pindex)
return (PKT_ERROR_TOKENS -22);
}

if (isPropertyNonFungible(property)) {
PrintToLog("%s(): rejected: property %d is of type non-fungible\n", __func__, property);
return (PKT_ERROR_NFT -21);
if (!IsFeatureActivated(FEATURE_NONFUNGIBLE_ISSUER, block)) {
if (isPropertyNonFungible(property)) {
PrintToLog("%s(): rejected: property %d is of type non-fungible\n", __func__, property);
return (PKT_ERROR_NFT -21);
}
}

if (nValue <= 0 || MAX_INT_8_BYTES < nValue) {
Expand Down

0 comments on commit d9dee85

Please sign in to comment.