mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Update serai-coordinator-cosign to the new serai-client-serai
This commit is contained in:
@@ -65,6 +65,17 @@ impl From<SeraiAddress> for Public {
|
||||
}
|
||||
}
|
||||
|
||||
impl From<crate::crypto::Public> for SeraiAddress {
|
||||
fn from(key: crate::crypto::Public) -> Self {
|
||||
Public::from(key).into()
|
||||
}
|
||||
}
|
||||
impl From<SeraiAddress> for crate::crypto::Public {
|
||||
fn from(address: SeraiAddress) -> Self {
|
||||
Public::from(address).into()
|
||||
}
|
||||
}
|
||||
|
||||
// We use Bech32m to encode addresses
|
||||
impl core::fmt::Display for SeraiAddress {
|
||||
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
|
||||
|
||||
@@ -73,7 +73,7 @@ impl UnbalancedMerkleTree {
|
||||
}
|
||||
|
||||
/// An unbalanced Merkle tree which is incrementally created.
|
||||
#[derive(Clone, PartialEq, Eq, Debug)]
|
||||
#[derive(Clone, PartialEq, Eq, Debug, BorshSerialize, BorshDeserialize)]
|
||||
#[cfg_attr(
|
||||
feature = "non_canonical_scale_derivations",
|
||||
derive(scale::Encode, scale::Decode, scale::DecodeWithMemTracking)
|
||||
|
||||
Reference in New Issue
Block a user