diff options
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/beta/contract-test/contract.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/e2e/beta/contract-test/contract.js b/test/e2e/beta/contract-test/contract.js index bb38438a8..39e7238ae 100644 --- a/test/e2e/beta/contract-test/contract.js +++ b/test/e2e/beta/contract-test/contract.js @@ -48,7 +48,8 @@ deployButton.addEventListener('click', async function (event) { }, function (e, contract) { if (e) { throw e - } else if (typeof contract.address !== 'undefined') { + } + if (typeof contract.address !== 'undefined') { console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash) document.getElementById('contractStatus').innerHTML = 'Deployed' |