Skip to content

Commit

Permalink
Merge pull request #1920 from Roasbeef/musig2-benchmark-fix
Browse files Browse the repository at this point in the history
btcec/schnorr/musig2: fix BenchmarkPartialVerify
  • Loading branch information
Roasbeef authored Nov 10, 2022
2 parents 31ecaff + 55e40f4 commit 4350859
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions btcec/schnorr/musig2/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4350859

Please sign in to comment.