]> Git Repo - VerusCoin.git/commitdiff
Handle invalid blocks and transactions better
authormiketout <[email protected]>
Thu, 5 Dec 2019 21:40:32 +0000 (13:40 -0800)
committermiketout <[email protected]>
Thu, 5 Dec 2019 21:40:32 +0000 (13:40 -0800)
src/pbaas/identity.cpp

index 0aedbc8aa11cb43b88c22a8915cfec977164b703..92cf4f386457dcf7994428ce780c5aafb5b2b24f 100644 (file)
@@ -510,6 +510,10 @@ bool PrecheckIdentityReservation(const CTransaction &tx, int32_t outNum, CValida
 
             if (oneTxIn.prevout.n >= coins.vout.size())
             {
+                //extern void TxToJSON(const CTransaction& tx, const uint256 hashBlock, UniValue& entry);
+                //UniValue uniTx;
+                //TxToJSON(tx, uint256(), uniTx);
+                //printf("%s\n", uniTx.write(1, 2).c_str());
                 return state.Error("Input index out of range");
             }
 
This page took 0.026177 seconds and 4 git commands to generate.