Commit e9d01bd2 authored by yann300's avatar yann300

fix reference

parent 50ad4d37
......@@ -226,7 +226,7 @@ class ContractDropdownUI {
modalDialog('Confirm transaction', content,
{ label: 'Confirm',
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
if (!content.gasPriceStatus) {
cancelCb('Given gas price is not correct')
......
......@@ -86,7 +86,7 @@ const confirmationCb = function (network, tx, gasEstimation, continueTxExecution
content,
{ label: 'Confirm',
fn: () => {
self.udappUI.udapp.config.setUnpersistedProperty(
self.blockchain.config.setUnpersistedProperty(
'doNotShowTransactionConfirmationAgain',
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