Revert
This commit is contained in:
@@ -422,7 +422,13 @@ int32_t NSPV_txextract(CTransaction &tx,uint8_t *data,int32_t datalen)
|
||||
|
||||
int32_t NSPV_pubkeysextract(uint8_t pubkeys[64][33],CTransaction tx,uint8_t elected[64][33])
|
||||
{
|
||||
int32_t numsigs = 13;
|
||||
uint256 hashBlock; CTransaction vintx; int32_t i,numsigs = 13;
|
||||
/*LOCK(cs_main);
|
||||
for (i=0; i<tx.vin.size(); i++)
|
||||
{
|
||||
if ( !GetTransaction(txid,vintx,hashBlock, false))
|
||||
return(-1);
|
||||
}*/
|
||||
return(numsigs);
|
||||
}
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ std::string NSPV_signtx(UniValue &retcodes,CMutableTransaction &mtx,uint64_t txf
|
||||
{
|
||||
utxovout = mtx.vin[i].prevout.n;
|
||||
if ( i > 0 )
|
||||
sleep(2);
|
||||
sleep(1);
|
||||
validation = NSPV_gettransaction(0,utxovout,mtx.vin[i].prevout.hash,used[i].height,vintx);
|
||||
retcodes.push_back(validation);
|
||||
if ( validation != -1 ) // most others are degraded security
|
||||
|
||||
Reference in New Issue
Block a user