]> Git Repo - VerusCoin.git/commitdiff
Build fix
authormiketout <[email protected]>
Mon, 3 May 2021 04:42:29 +0000 (21:42 -0700)
committermiketout <[email protected]>
Mon, 3 May 2021 04:42:29 +0000 (21:42 -0700)
src/rpc/pbaasrpc.cpp

index 2d0a7825b1b534a821d4f78e8037a2d1b3678938..824da7298ebaecd9481b83626604c16fe755f434 100644 (file)
@@ -2283,9 +2283,8 @@ bool GetNotarizationData(const uint160 &currencyID, CChainNotarizationData &nota
     }
 
     // look for unspent, confirmed finalizations first
-    uint160 confirmedNotarizationKey = CCrossChainRPCData::GetConditionID(
-        CCrossChainRPCData::GetConditionID(currencyID, CObjectFinalization::ObjectFinalizationNotarizationKey()),
-        CObjectFinalization::ObjectFinalizationConfirmedKey());
+    uint160 finalizeNotarizationKey = CCrossChainRPCData::GetConditionID(currencyID, CObjectFinalization::ObjectFinalizationNotarizationKey());
+    uint160 confirmedNotarizationKey = CCrossChainRPCData::GetConditionID(finalizeNotarizationKey, CObjectFinalization::ObjectFinalizationConfirmedKey());
 
     if (GetAddressUnspent(confirmedNotarizationKey, CScript::P2IDX, unspentFinalizations) &&
         unspentFinalizations.size())
This page took 0.025216 seconds and 4 git commands to generate.