We can make the API more ergonomic by taking a generic argument that implements `Into<secp256k1::PublicKey>` in the `bitcoin::PublicKey` constructors. The only thing than this is useful for is passing in `KeyPair` and the `From` implementation already exists. Add a unit test to verify. Fix: #1453 |
||
|---|---|---|
| .. | ||
| contrib | ||
| embedded | ||
| examples | ||
| fuzz | ||
| src | ||
| tests | ||
| CHANGELOG.md | ||
| Cargo.toml | ||
| build.rs | ||