Unverified Commit 3ec73779 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2701 from ethereum/fixMainnet

Fix bad reference (to access config)
parents 50ad4d37 e9d01bd2
...@@ -226,7 +226,7 @@ class ContractDropdownUI { ...@@ -226,7 +226,7 @@ class ContractDropdownUI {
modalDialog('Confirm transaction', content, modalDialog('Confirm transaction', content,
{ label: 'Confirm', { label: 'Confirm',
fn: () => { fn: () => {
this.blockchain.udapp.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked) this.blockchain.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
// TODO: check if this is check is still valid given the refactor // TODO: check if this is check is still valid given the refactor
if (!content.gasPriceStatus) { if (!content.gasPriceStatus) {
cancelCb('Given gas price is not correct') cancelCb('Given gas price is not correct')
......
...@@ -86,7 +86,7 @@ const confirmationCb = function (network, tx, gasEstimation, continueTxExecution ...@@ -86,7 +86,7 @@ const confirmationCb = function (network, tx, gasEstimation, continueTxExecution
content, content,
{ label: 'Confirm', { label: 'Confirm',
fn: () => { fn: () => {
self.udappUI.udapp.config.setUnpersistedProperty( self.blockchain.config.setUnpersistedProperty(
'doNotShowTransactionConfirmationAgain', 'doNotShowTransactionConfirmationAgain',
content.querySelector('input#confirmsetting').checked content.querySelector('input#confirmsetting').checked
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment