diff --git a/src/main/verify.cpp b/src/main/verify.cpp index 4999fd54..d3522ef3 100644 --- a/src/main/verify.cpp +++ b/src/main/verify.cpp @@ -116,6 +116,7 @@ verifyNFTs( if(oldUriStr.compare(writtenUriStr) != 0){ BOOST_LOG_TRIVIAL(warning) <<"\nNFTokenID "<< to_string(nft.tokenID) << " failed to match URIs!\n"; + throw std::runtime_error("Failed to match!"); } else{ BOOST_LOG_TRIVIAL(info) <<"\nNFTokenID "<< to_string(nft.tokenID) << " URI matched!\n";