Skip to content

Commit

Permalink
Restore wallet with iPhone
Browse files Browse the repository at this point in the history
  • Loading branch information
furiousteam authored Jan 28, 2019
1 parent c4f02c9 commit 89dcb46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wallet/WalletGreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,7 @@ std::string WalletGreen::addWallet(const NewAddressData &addressData, uint64_t s
if (insertIt != index.end()) {
m_logger(ERROR, BRIGHT_RED) << "Failed to add wallet: address already exists, " <<
m_currency.accountAddressAsString(AccountPublicAddress{spendPublicKey, m_viewPublicKey});
throw std::system_error(make_error_code(error::ADDRESS_ALREADY_EXISTS));
auto address = m_currency.accountAddressAsString({ spendPublicKey, m_viewPublicKey });
}

try {
Expand Down

0 comments on commit 89dcb46

Please sign in to comment.