From 4d055c71a77d4b3aa147dfe8e1673afb3217840b Mon Sep 17 00:00:00 2001 From: Pravdyvy Date: Tue, 23 Jun 2026 14:50:23 +0300 Subject: [PATCH] fix(integration tests): fixed wallet ffi integration test --- integration_tests/tests/wallet_ffi.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/integration_tests/tests/wallet_ffi.rs b/integration_tests/tests/wallet_ffi.rs index 5eab3e0f..85da5cb7 100644 --- a/integration_tests/tests/wallet_ffi.rs +++ b/integration_tests/tests/wallet_ffi.rs @@ -199,6 +199,7 @@ unsafe extern "C" { handle: *mut WalletHandle, mnemonic: *const c_char, password: *const c_char, + depth: u32, ) -> error::WalletFfiError; fn wallet_ffi_resolve_public_account( @@ -1396,7 +1397,8 @@ fn restore_keys_from_seed_ffi() -> Result<()> { assert_eq!(public_account_id_2_balance, 103); unsafe { - wallet_ffi_restore_data(wallet_ffi_handle, mnemonic.as_ptr(), password.as_ptr()).unwrap(); + wallet_ffi_restore_data(wallet_ffi_handle, mnemonic.as_ptr(), password.as_ptr(), 5) + .unwrap(); } // Sync private account local storage with onchain encrypted state