Compare commits

..

1 Commits

Author SHA1 Message Date
Ryan Heywood 14569e436e
keyfork: add `bottoms-up` wizard 2024-07-29 00:48:10 -04:00
2 changed files with 1 additions and 3 deletions

View File

@ -83,7 +83,7 @@ fn validate(
let index = DerivationIndex::new(u32::from_be_bytes(pgp_u32), true)?; let index = DerivationIndex::new(u32::from_be_bytes(pgp_u32), true)?;
let path = DerivationPath::from_str(path)?; let path = DerivationPath::from_str(path)?;
assert!(path.len() >= 2, "Expected path of at least m/{index}/account_id'"); assert_eq!(2, path.len(), "Expected path of m/{index}/account_id'");
let given_index = path.iter().next().expect("checked .len() above"); let given_index = path.iter().next().expect("checked .len() above");
assert_eq!( assert_eq!(

View File

@ -1,8 +1,6 @@
import json import json
import sys import sys
# pipe `cargo metadata --format-version=1` into this
priority_queue = [] priority_queue = []
packages = json.load(sys.stdin)["packages"] packages = json.load(sys.stdin)["packages"]