You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This check is to make sure that the script we created can actually be solved for and signed by us
432
430
// if we were to have the private keys. This is just to make sure that the script is valid and that,
433
431
// if found in a transaction, we would still accept and relay that transaction. In particular,
434
432
// it will reject witness outputs that require signing with an uncompressed public key.
435
-
staticconst DummySignatureCreator creator;
436
433
SignatureData sigs;
437
434
// Make sure that STANDARD_SCRIPT_VERIFY_FLAGS includes SCRIPT_VERIFY_WITNESS_PUBKEYTYPE, the most
438
435
// important property this function is designed to test for.
439
436
static_assert(STANDARD_SCRIPT_VERIFY_FLAGS & SCRIPT_VERIFY_WITNESS_PUBKEYTYPE, "IsSolvable requires standard script flags to include WITNESS_PUBKEYTYPE");
440
-
if (ProduceSignature(provider, creator, script, sigs)) {
437
+
if (ProduceSignature(provider, DUMMY_SIGNATURE_CREATOR, script, sigs)) {
441
438
// VerifyScript check is just defensive, and should never fail.
0 commit comments