Fix for isNew
This commit is contained in:
parent
1b6c7ab82a
commit
00096d3aca
|
@ -76,7 +76,9 @@ function startDapp(web3, isOraclesNetwork) {
|
|||
address,
|
||||
config.Ethereum[config.environment].KeysStorage.addr,
|
||||
config.Ethereum[config.environment].KeysStorage.abi,
|
||||
function(_isNew) {
|
||||
function(err, _isNew) {
|
||||
if (err) swal(err.title, err.message, "error")
|
||||
|
||||
if (!_isNew) return swal("Error", "Initial key is already activated or isn't valid", "error");
|
||||
|
||||
$(".loading-container").show();
|
||||
|
|
Loading…
Reference in New Issue