Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

Commit

Permalink
Merge pull request #80 from dusk-network/default
Browse files Browse the repository at this point in the history
Derive `Default` for StealthAddress
  • Loading branch information
xevisalle authored Apr 5, 2023
2 parents d153820 + 59d7511 commit ae81201
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "dusk-pki"
version = "0.11.3"
version = "0.11.4"
authors = ["zer0 <[email protected]>", "Victor Lopez <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion src/keys/spend/stealth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ae81201

Please sign in to comment.