Compare commits
2 Commits
14569e436e
...
77648c7d6d
Author | SHA1 | Date |
---|---|---|
Ryan Heywood | 77648c7d6d | |
Ryan Heywood | d5c3587343 |
|
@ -83,7 +83,7 @@ fn validate(
|
|||
let index = DerivationIndex::new(u32::from_be_bytes(pgp_u32), true)?;
|
||||
|
||||
let path = DerivationPath::from_str(path)?;
|
||||
assert_eq!(2, path.len(), "Expected path of m/{index}/account_id'");
|
||||
assert!(path.len() >= 2, "Expected path of at least m/{index}/account_id'");
|
||||
|
||||
let given_index = path.iter().next().expect("checked .len() above");
|
||||
assert_eq!(
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
import json
|
||||
import sys
|
||||
|
||||
# pipe `cargo metadata --format-version=1` into this
|
||||
|
||||
priority_queue = []
|
||||
packages = json.load(sys.stdin)["packages"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue