mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 01:11:10 +00:00
Use from_ss58check and to_ss58check from Ss58Codec for ed25519 (#2355)
* fix: use Ss58Codec for from_ss58check and to_ss58check * Update lib.rs * chore: clean
This commit is contained in:
@@ -105,7 +105,7 @@ pub(super) fn generate_key<C: Crypto<Seed=[u8; 32]>>(desired: &str) -> Result<Ke
|
||||
mod tests {
|
||||
use super::*;
|
||||
use super::super::Ed25519;
|
||||
use substrate_primitives::Pair;
|
||||
use substrate_primitives::{Pair, crypto::Ss58Codec};
|
||||
#[cfg(feature = "bench")]
|
||||
use test::Bencher;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user