mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-06-26 08:59:45 +00:00
fix(integration tests): fixed wallet ffi integration test
This commit is contained in:
parent
c3a78d24ef
commit
4d055c71a7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user