clarify bip32 derivation paths (#800)

Co-authored-by: ardocrat <ardocrat@gri.mw>
This commit is contained in:
wiesche
2026-09-16 13:50:51 +03:00
committed by GitHub
co-authored by ardocrat
parent 18da793ace
commit f585c70eba
4 changed files with 57 additions and 15 deletions
+2
View File
@@ -175,6 +175,8 @@ fn accounts_test_impl(test_dir: &'static str) -> Result<(), libwallet::Error> {
mask1,
PathBuf::from(test_dir),
|api, m| {
let labels: Vec<_> = api.accounts(m)?.into_iter().map(|a| a.label).collect();
assert_eq!(labels, ["account1", "default", "account2", "account3"]);
// check last confirmed height on this account is different from above (should be 0)
let (_, wallet1_info) = api.retrieve_summary_info(m, false, 1)?;
assert_eq!(wallet1_info.last_confirmed_height, 0);