mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 01:40:07 +01:00
Merge pull request #1920 from Roasbeef/musig2-benchmark-fix
btcec/schnorr/musig2: fix BenchmarkPartialVerify
This commit is contained in:
commit
4350859a7b
@ -45,12 +45,7 @@ func genSigner(t *testing.B) signer {
|
||||
t.Fatalf("unable to gen priv key: %v", err)
|
||||
}
|
||||
|
||||
pubKey, err := schnorr.ParsePubKey(
|
||||
schnorr.SerializePubKey(privKey.PubKey()),
|
||||
)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to gen key: %v", err)
|
||||
}
|
||||
pubKey := privKey.PubKey()
|
||||
|
||||
nonces, err := GenNonces(WithPublicKey(pubKey))
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user