diff --git a/packages/rs-platform-wallet/src/manager/wallet_lifecycle.rs b/packages/rs-platform-wallet/src/manager/wallet_lifecycle.rs index ca8d5051b3..9f21e2a4d5 100644 --- a/packages/rs-platform-wallet/src/manager/wallet_lifecycle.rs +++ b/packages/rs-platform-wallet/src/manager/wallet_lifecycle.rs @@ -79,12 +79,13 @@ impl PlatformWalletManager

{ ) -> Result, PlatformWalletError> { let mnemonic = parse_mnemonic_any_language(mnemonic_phrase) .map_err(|e| PlatformWalletError::WalletCreation(format!("Invalid mnemonic: {}", e)))?; - let wallet = Wallet::from_mnemonic(mnemonic, network, accounts).map_err(|e| { + let mut wallet = Wallet::from_mnemonic(mnemonic, network, accounts).map_err(|e| { PlatformWalletError::WalletCreation(format!( "Failed to create wallet from mnemonic: {}", e )) })?; + wallet.downgrade_to_external_signable(); self.register_wallet(wallet, birth_height_override).await } @@ -104,12 +105,13 @@ impl PlatformWalletManager

{ accounts: WalletAccountCreationOptions, birth_height_override: Option, ) -> Result, PlatformWalletError> { - let wallet = Wallet::from_seed_bytes(seed_bytes, network, accounts).map_err(|e| { + let mut wallet = Wallet::from_seed_bytes(seed_bytes, network, accounts).map_err(|e| { PlatformWalletError::WalletCreation(format!( "Failed to create wallet from seed bytes: {}", e )) })?; + wallet.downgrade_to_external_signable(); self.register_wallet(wallet, birth_height_override).await }