Make updater APIs public (#782)

This commit is contained in:
ardocrat
2026-08-09 19:49:29 +02:00
committed by wiesche
parent c0245a03ea
commit 2743dff020
6 changed files with 37 additions and 11 deletions
+9
View File
@@ -256,6 +256,15 @@ fn accounts_test_impl(test_dir: &'static str) -> Result<(), libwallet::Error> {
},
)?;
// Use the requested account's stored height
{
wallet_inst!(wallet1, w);
assert_eq!(w.parent_key_id(), ExtKeychain::derive_key_id(2, 1, 0, 0, 0));
let account2 = ExtKeychain::derive_key_id(2, 2, 0, 0, 0);
let account2_info = libwallet::retrieve_info(w, &account2, 1)?;
assert_eq!(account2_info.last_confirmed_height, 12);
}
// other account should be untouched
{
wallet_inst!(wallet1, w);