diff options
| author | Riccardo Spagni <ric@spagni.net> | 2015-08-04 11:42:50 +0200 |
|---|---|---|
| committer | Riccardo Spagni <ric@spagni.net> | 2015-08-04 12:32:41 +0200 |
| commit | 9c3715e46a6539c8b93b68401e190e78f71d4a21 (patch) | |
| tree | a27e0e4d29367d438c6a2534492a1993d626fe62 /src | |
| parent | 0c85f3fa19d520473547edd92e46de59b8fc97fa (diff) | |
| parent | 1e23b7a11d5d5b70d81a12910f63fc759c1c4f9a (diff) | |
| download | monzero-core-9c3715e46a6539c8b93b68401e190e78f71d4a21.tar.gz monzero-core-9c3715e46a6539c8b93b68401e190e78f71d4a21.tar.xz monzero-core-9c3715e46a6539c8b93b68401e190e78f71d4a21.zip | |
Merge pull request #358
1e23b7a wallet: set watch-only flag to false when creating a new wallet (moneromooo-monero)
Diffstat (limited to 'src')
| -rw-r--r-- | src/wallet/wallet2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index e0569244b..5b7b19520 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -671,6 +671,7 @@ crypto::secret_key wallet2::generate(const std::string& wallet_, const std::stri crypto::secret_key retval = m_account.generate(recovery_param, recover, two_random); m_account_public_address = m_account.get_keys().m_account_address; + m_watch_only = false; bool r = store_keys(m_keys_file, password, false); THROW_WALLET_EXCEPTION_IF(!r, error::file_save_error, m_keys_file); |
