Subkey supports 24-word phrases (#2827)

* Revamp crypto API and make seeds work better in subkey

* Final tweaks

* Update tests

* line spacing

* Avoid escapes in hex constants

* Fix build

* Another fix

* More fixes

* Minor nits
This commit is contained in:
Gavin Wood authored and GitHub committed 2019-06-13 11:06:30 +02:00
1 parent 68f4d11df3
commit f4afdd2f0b
11 files changed
+204 -211

No files matched your search

@@ -176,7 +176,7 @@ mod test {
#[test]
fn check_equivocation_works() {
let client = test_client::new();
let pair = sr25519::Pair::generate();
let (pair, _seed) = sr25519::Pair::generate();
let public = pair.public();
let header1 = create_header(1); // @ slot 2