Merge pull request #2318 from ethereum/yann300-patch-77

`_deps` is not used anymore in udapp
pull/1/head
yann300 5 years ago committed by GitHub
commit 350f247a40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/ui/universal-dapp-ui.js

@ -197,7 +197,7 @@ UniversalDAppUI.prototype.getCallButton = function (args) {
modalDialog('Confirm transaction', content,
{ label: 'Confirm',
fn: () => {
self.udapp._deps.config.setUnpersistedProperty('doNotShowTransactionConfirmationAgain', content.querySelector('input#confirmsetting').checked)
self.udapp.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')

Loading…
Cancel
Save