]> Git Repo - VerusCoin.git/commitdiff
Remove debugging output, fix height check in commitment height
authormiketout <[email protected]>
Wed, 20 May 2020 02:26:32 +0000 (19:26 -0700)
committermiketout <[email protected]>
Wed, 20 May 2020 02:26:32 +0000 (19:26 -0700)
src/pbaas/identity.cpp
src/pbaas/reserves.cpp

index 1e6161612679b6c04331a2b1fad3a01f7f84f588..72cc243e34ab9eddd70b65e10abd54396fa154f5 100644 (file)
@@ -512,7 +512,7 @@ bool ValidateSpendingIdentityReservation(const CTransaction &tx, int32_t outNum,
                 ::FromVector(p.vData[0], ch);
                 commitmentHeight = coins->nHeight;
                 // this needs to already be in a prior block, or we can't consider it valid
-                if (!commitmentHeight)
+                if (!commitmentHeight || commitmentHeight == -1)
                 {
                     if (extendedIDValidation)
                     {
index aef5f6062fcd03652e99813f5bb1f6f5e435d46f..69fe27e08b7e282c685fb06494654733c6cb9097 100644 (file)
@@ -1334,11 +1334,6 @@ bool CReserveTransactionDescriptor::AddReserveTransferImportOutputs(const uint16
 
     bool isVerusActive = IsVerusActive();
 
-    if (currencyDest.GetID() == GetDestinationID(DecodeDestination("iAYDPgZ8PuDQyMa4mXycC964bzgU4sWH57")))
-    {
-        printf("operation for reserve currency: %s\n", currencyDest.name.c_str());
-    }
-
     CCcontract_info CC;
     CCcontract_info *cp;
 
This page took 0.027327 seconds and 4 git commands to generate.