mirror of
https://github.com/btcsuite/btcd.git
synced 2025-02-23 22:47:01 +01:00
psbt: fix typo, remove TODO
This commit is contained in:
parent
a86222c92d
commit
a336854e27
1 changed files with 1 additions and 5 deletions
|
@ -2,7 +2,6 @@ package psbt
|
|||
|
||||
import (
|
||||
"bytes"
|
||||
|
||||
"github.com/btcsuite/btcd/btcec/v2"
|
||||
"github.com/btcsuite/btcd/btcec/v2/ecdsa"
|
||||
)
|
||||
|
@ -43,11 +42,8 @@ func validateSignature(sig []byte) bool {
|
|||
return err == nil
|
||||
}
|
||||
|
||||
// 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
|
||||
// (PartialSig, validatePubkey, validateSignature) for more details.
|
||||
//
|
||||
// TODO(waxwing): update for Schnorr will be needed here if/when that
|
||||
// activates.
|
||||
func (ps *PartialSig) checkValid() bool {
|
||||
return validatePubkey(ps.PubKey) && validateSignature(ps.Signature)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue