We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a86222c commit a336854Copy full SHA for a336854
btcutil/psbt/partialsig.go
@@ -2,7 +2,6 @@ package psbt
2
3
import (
4
"bytes"
5
-
6
"github.com/btcsuite/btcd/btcec/v2"
7
"github.com/btcsuite/btcd/btcec/v2/ecdsa"
8
)
@@ -43,11 +42,8 @@ func validateSignature(sig []byte) bool {
43
42
return err == nil
44
}
45
46
-// checkValid checks that both the pbukey and sig are valid. See the methods
+// checkValid checks that both the pubkey and sig are valid. See the methods
47
// (PartialSig, validatePubkey, validateSignature) for more details.
48
-//
49
-// TODO(waxwing): update for Schnorr will be needed here if/when that
50
-// activates.
51
func (ps *PartialSig) checkValid() bool {
52
return validatePubkey(ps.PubKey) && validateSignature(ps.Signature)
53
0 commit comments