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:
Marcio Diaz
2019-04-24 11:58:30 +02:00
committed by Gavin Wood
parent 5b3e31266b
commit bf9d7957d8
4 changed files with 619 additions and 650 deletions
+1 -1
View File
@@ -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;