From 733be445f5667c7e9e46a7d698fac9ecbb58da7c Mon Sep 17 00:00:00 2001 From: Shawn Xie Date: Wed, 3 May 2023 14:39:25 -0400 Subject: [PATCH] remove comments --- src/main/verify.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/verify.cpp b/src/main/verify.cpp index b7d3be869..50045058c 100644 --- a/src/main/verify.cpp +++ b/src/main/verify.cpp @@ -198,7 +198,6 @@ verifyNFTs( } -//TODO: add ledger seq param static void doVerification( Backend::CassandraBackend& backend, @@ -239,7 +238,6 @@ doVerification( { std::vector ledgerSequencePage; - // TDOD: change doTryGetTxPageResult CassResult const* result = doTryGetTxPageResult(nftTxQuery, timer, backend); @@ -260,11 +258,6 @@ doVerification( "Could not retrieve hash from nf_token_transactions"); } - //auto const txHash = ripple::uint256::fromVoid(buf); - // auto const tx = - // doTryFetchTransaction(timer, backend, txHash, yield); - - //TODO cast buf and compare to ledger sequence std::uint32_t seq = static_cast(buf); if(seq <= ledgerRange->maxSequence) ledgerSequencePage.push_back(seq); @@ -312,7 +305,7 @@ doVerification( ripple::to_string(object.key), std::string(object.blob.begin(), object.blob.end())); - //TODO: write helper function to verify vector of NFTs + //helper function to verify vector of NFTs verifyNFTs(toVerify, backend, yield); } cursor = page.cursor; @@ -324,8 +317,6 @@ doVerification( int main(int argc, char* argv[]) { - //TODO: pass in ledger index when migrator started - if (argc < 2) { std::cerr << "Didn't provide config path!" << std::endl;