fix possible miner crash up with PoW, fix possible deadlock with large numbers of import transactions.
This commit is contained in:
@@ -2694,6 +2694,7 @@ bool ContextualCheckInputs(
|
||||
|
||||
if (tx.IsCoinImport())
|
||||
{
|
||||
LOCK(cs_main);
|
||||
ServerTransactionSignatureChecker checker(&tx, 0, 0, false, txdata);
|
||||
return VerifyCoinImport(tx.vin[0].scriptSig, checker, state);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user