|
|
|
@ -138,7 +138,7 @@ int neroshop::Wallet::restore_from_seed(const std::string& seed, uint64_t restor
|
|
|
|
|
wallet_config_obj.m_password = "";
|
|
|
|
|
wallet_config_obj.m_network_type = static_cast<monero::monero_network_type>(Wallet::network_type);
|
|
|
|
|
wallet_config_obj.m_seed = seed;
|
|
|
|
|
wallet_config_obj.m_restore_height = (restore_height == 0) ? 1570000 : restore_height;//1570000 (stagenet);3120000 (mainnet)
|
|
|
|
|
wallet_config_obj.m_restore_height = (restore_height == 0) ? 1580000 : restore_height;//1580000 (stagenet);3120000 (mainnet)
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
monero_wallet_obj = std::unique_ptr<monero_wallet_full>(monero_wallet_full::create_wallet (wallet_config_obj, nullptr));
|
|
|
|
|