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

Loading…
Cancel
Save