fix reference

pull/5370/head
yann300 5 years ago
parent dea5012771
commit a2e9654a12
  1. 2
      src/app/tabs/runTab/contractDropdown.js
  2. 2
      src/app/ui/sendTxCallbacks.js

@ -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
)

Loading…
Cancel
Save