aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Miller <danjm.com@gmail.com>2018-08-15 05:48:04 +0800
committerDan Miller <danjm.com@gmail.com>2018-08-15 05:48:04 +0800
commit3c8a4162a489a8e3477553b163a73bf0a2b7ea71 (patch)
treec21f3c71018093cfb11d2b703b88b91f69b67dfd /test
parentff7242349172bc3bedabdb4da3f1fae97c8edadf (diff)
downloadtangerine-wallet-browser-3c8a4162a489a8e3477553b163a73bf0a2b7ea71.tar
tangerine-wallet-browser-3c8a4162a489a8e3477553b163a73bf0a2b7ea71.tar.gz
tangerine-wallet-browser-3c8a4162a489a8e3477553b163a73bf0a2b7ea71.tar.bz2
tangerine-wallet-browser-3c8a4162a489a8e3477553b163a73bf0a2b7ea71.tar.lz
tangerine-wallet-browser-3c8a4162a489a8e3477553b163a73bf0a2b7ea71.tar.xz
tangerine-wallet-browser-3c8a4162a489a8e3477553b163a73bf0a2b7ea71.tar.zst
tangerine-wallet-browser-3c8a4162a489a8e3477553b163a73bf0a2b7ea71.zip
Remove unnecessary else in test/e2e/beta/contract-test/contract.js
Diffstat (limited to 'test')
-rw-r--r--test/e2e/beta/contract-test/contract.js3
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'