mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-12-05 13:23:58 +01:00
clarify bip32 derivation paths (#800)
Co-authored-by: ardocrat <ardocrat@gri.mw>
This commit is contained in:
committed by
GitHub
co-authored by
ardocrat
parent
18da793ace
commit
f585c70eba
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user