mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Remove unnecessary else in test/e2e/beta/contract-test/contract.js
This commit is contained in:
parent
ff72423491
commit
3c8a4162a4
@ -48,7 +48,8 @@ deployButton.addEventListener('click', async function (event) {
|
|||||||
}, function (e, contract) {
|
}, function (e, contract) {
|
||||||
if (e) {
|
if (e) {
|
||||||
throw e
|
throw e
|
||||||
} else if (typeof contract.address !== 'undefined') {
|
}
|
||||||
|
if (typeof contract.address !== 'undefined') {
|
||||||
console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash)
|
console.log('Contract mined! address: ' + contract.address + ' transactionHash: ' + contract.transactionHash)
|
||||||
|
|
||||||
document.getElementById('contractStatus').innerHTML = 'Deployed'
|
document.getElementById('contractStatus').innerHTML = 'Deployed'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user