Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
a minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
garyyu committed Sep 10, 2019
1 parent be5a449 commit dea1d97
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ impl_array_newtype!(SecretKey, u8, constants::SECRET_KEY_SIZE);
impl_pretty_debug!(SecretKey);

/// The number 0 encoded as a secret key
pub const ZERO_KEY: SecretKey = SecretKey([
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
]);
pub const ZERO_KEY: SecretKey = SecretKey([0u8; 32]);

/// The number 1 encoded as a secret key
pub const ONE_KEY: SecretKey = SecretKey([
Expand Down

0 comments on commit dea1d97

Please sign in to comment.