|
|
@ -76,7 +76,7 @@ TxRunner.prototype.execute = function (args, callback) { |
|
|
|
if (err) { |
|
|
|
if (err) { |
|
|
|
console.log(err) |
|
|
|
console.log(err) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (network.name === 'Ropsten') { |
|
|
|
if (network.name === 'Main') { |
|
|
|
modalDialog('Confirm transaction', remixdDialog(tx, self), |
|
|
|
modalDialog('Confirm transaction', remixdDialog(tx, self), |
|
|
|
{ label: 'Confirm', |
|
|
|
{ label: 'Confirm', |
|
|
|
fn: () => { |
|
|
|
fn: () => { |
|
|
@ -128,7 +128,7 @@ TxRunner.prototype.execute = function (args, callback) { |
|
|
|
if (err) { |
|
|
|
if (err) { |
|
|
|
console.log(err) |
|
|
|
console.log(err) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (network.name === 'Ropsten') { |
|
|
|
if (network.name === 'Main') { |
|
|
|
modalDialog('Confirm transaction', remixdDialog(tx, self), |
|
|
|
modalDialog('Confirm transaction', remixdDialog(tx, self), |
|
|
|
{ label: 'Confirm', |
|
|
|
{ label: 'Confirm', |
|
|
|
fn: () => { |
|
|
|
fn: () => { |
|
|
|