mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Merge #10956: Fix typos
9d5e98ff8 Fix typos. (practicalswift)
Pull request description:
Fix some typos not covered by #10705.
Tree-SHA512: f06e9541f6ae13ef5d6731399b61795997b21a8816abeb1749c93e99a5c47354e6cbd4a3d145f4dc6ef8a13db179799a3121ecbb7288abf3e8d81cdf81500d37
This commit is contained in:
@@ -1134,7 +1134,7 @@ public:
|
||||
SignatureData sigs;
|
||||
// This check is to make sure that the script we created can actually be solved for and signed by us
|
||||
// if we were to have the private keys. This is just to make sure that the script is valid and that,
|
||||
// if found in a transaction, we would still accept and relay that transcation.
|
||||
// if found in a transaction, we would still accept and relay that transaction.
|
||||
if (!ProduceSignature(DummySignatureCreator(pwallet), witscript, sigs) ||
|
||||
!VerifyScript(sigs.scriptSig, witscript, &sigs.scriptWitness, MANDATORY_SCRIPT_VERIFY_FLAGS | SCRIPT_VERIFY_WITNESS_PUBKEYTYPE, DummySignatureCreator(pwallet).Checker())) {
|
||||
return false;
|
||||
@@ -1159,7 +1159,7 @@ public:
|
||||
SignatureData sigs;
|
||||
// This check is to make sure that the script we created can actually be solved for and signed by us
|
||||
// if we were to have the private keys. This is just to make sure that the script is valid and that,
|
||||
// if found in a transaction, we would still accept and relay that transcation.
|
||||
// if found in a transaction, we would still accept and relay that transaction.
|
||||
if (!ProduceSignature(DummySignatureCreator(pwallet), witscript, sigs) ||
|
||||
!VerifyScript(sigs.scriptSig, witscript, &sigs.scriptWitness, MANDATORY_SCRIPT_VERIFY_FLAGS | SCRIPT_VERIFY_WITNESS_PUBKEYTYPE, DummySignatureCreator(pwallet).Checker())) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user