fix wallet restore: pass overwrite=true to allow restoring over existing wallet

This commit is contained in:
2026-03-22 11:08:05 -05:00
parent ff8368ca97
commit f5d26dd34d
5 changed files with 10 additions and 9 deletions

View File

@@ -9,7 +9,8 @@ extern bool litelib_wallet_exists (const char* chain_name);
extern char * litelib_initialize_new (bool dangerous, const char* server);
extern char * litelib_initialize_new_from_phrase
(bool dangerous, const char* server, const char* seed,
unsigned long long birthday, unsigned long long number);
unsigned long long birthday, unsigned long long number,
bool overwrite);
extern char * litelib_initialize_existing (bool dangerous,const char* server);
extern char * litelib_execute (const char* s, const char* args);
extern void litelib_rust_free_string (char* s);