forked from lthn/blockchain
fixed unhandled throw in case of double initialization
This commit is contained in:
parent
181392f641
commit
211ff35e2c
1 changed files with 2 additions and 1 deletions
|
|
@ -71,7 +71,8 @@ namespace plain_wallet
|
|||
if (initialized)
|
||||
{
|
||||
LOG_ERROR("Double-initialization in plain_wallet detected.");
|
||||
throw std::runtime_error("Double-initialization in plain_wallet detected.");
|
||||
//throw std::runtime_error("Double-initialization in plain_wallet detected.");
|
||||
return "Already initialized!";
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue