Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
i1i1 committed May 23, 2022
1 parent a2abbcf commit f3e7ad3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# 0.33.0 [unreleased]

- Have methods on `Transport` take `&mut self` instead of `self`. See [PR 2529].
- Add support for sr25519 keys. See [PR 2671].

[PR 2529]: https://github.com/libp2p/rust-libp2p/pull/2529
[PR 2671]: https://github.com/libp2p/rust-libp2p/pull2671/

# 0.32.1

Expand Down
2 changes: 1 addition & 1 deletion core/src/identity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pub enum Keypair {
#[cfg(feature = "ecdsa")]
Ecdsa(ecdsa::Keypair),
/// An Sr25519 keypair.
#[cfg(feature = "ecdsa")]
#[cfg(feature = "sr25519")]
Sr25519(sr25519::Keypair),
}

Expand Down
2 changes: 1 addition & 1 deletion core/src/identity/sr25519.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use super::error::DecodingError;
use core::fmt;
use zeroize::Zeroize;

const SIGNING_CTX: &[u8] = b"rust-libp2p";
const SIGNING_CTX: &[u8] = b"libp2p";

// TODO: We need this because `schnorrkel` errors doesn't implement `std::error::Error`
#[derive(Clone, Debug)]
Expand Down

0 comments on commit f3e7ad3

Please sign in to comment.