Instead of creating an invalid verification key for a particular signature by tweaking its bytes, create another verification key and when the ChangePubkey tweak is applied, just swap out the correct SignatureCase::pk_bytes for SignatureCase::invalid_pk_bytes and check that trying to verify the signature using that wrong key fails, as expected. Resolves #2170 |
||
|---|---|---|
| .. | ||
| benches | ||
| proptest-regressions | ||
| src | ||
| Cargo.toml | ||