fix?
This commit is contained in:
@@ -555,7 +555,9 @@ bool DiceValidate(struct CCcontract_info *cp,Eval *eval,const CTransaction &tx)
|
|||||||
while ( eval->GetTxUnconfirmed(tx.vin[1].prevout.hash,vinTx,hashBlock) == 0 ) {
|
while ( eval->GetTxUnconfirmed(tx.vin[1].prevout.hash,vinTx,hashBlock) == 0 ) {
|
||||||
tries++;
|
tries++;
|
||||||
sleep(1);
|
sleep(1);
|
||||||
if ( tries > 60 ) {
|
char str[65];
|
||||||
|
fprintf(stderr, "tx.%s hashBlock.%s\n",uint256_str(str,tx.vin[1].prevout.hash),uint256_str(str,hashBlock));
|
||||||
|
if ( tries > 20 ) {
|
||||||
return eval->Invalid("always should find after 60s of looking vin.0, but didnt for wlt");
|
return eval->Invalid("always should find after 60s of looking vin.0, but didnt for wlt");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user