diff --git a/CHANGELOG.md b/CHANGELOG.md index 7335d03..83b9358 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.11.4] - 2023-04-05 + +### Added + +- Derive `Default` for `StealthAddress` + ## [0.11.3] - 2022-12-19 ### Added @@ -144,7 +150,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#38]: https://github.com/dusk-network/dusk-pki/issues/38 [#36]: https://github.com/dusk-network/dusk-pki/issues/36 [#34]: https://github.com/dusk-network/dusk-pki/issues/34 -[Unreleased]: https://github.com/dusk-network/dusk-pki/compare/v0.11.3...HEAD +[Unreleased]: https://github.com/dusk-network/dusk-pki/compare/v0.11.4...HEAD +[0.11.4]: https://github.com/dusk-network/dusk-pki/compare/v0.11.3...v0.11.4 [0.11.3]: https://github.com/dusk-network/dusk-pki/compare/v0.11.2...v0.11.3 [0.11.2]: https://github.com/dusk-network/dusk-pki/compare/v0.11.1...v0.11.2 [0.11.1]: https://github.com/dusk-network/dusk-pki/compare/v0.11.0...v0.11.1 diff --git a/Cargo.toml b/Cargo.toml index a0457db..3995e2f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dusk-pki" -version = "0.11.3" +version = "0.11.4" authors = ["zer0 ", "Victor Lopez "] edition = "2021" diff --git a/src/keys/spend/stealth.rs b/src/keys/spend/stealth.rs index 2145750..48117a8 100644 --- a/src/keys/spend/stealth.rs +++ b/src/keys/spend/stealth.rs @@ -19,7 +19,7 @@ use rkyv::{Archive, Deserialize, Serialize}; /// system. /// A `StealthAddress` is composed by a one-time public key (`pk_r`, the actual // address) and a random point `R`. -#[derive(HexDebug, Clone, Copy)] +#[derive(Default, HexDebug, Clone, Copy)] #[cfg_attr(feature = "canon", derive(Canon))] #[cfg_attr( feature = "rkyv-impl",