diff --git a/src/app/tabs/runTab/contractDropdown.js b/src/app/tabs/runTab/contractDropdown.js index 0b566d604b..17d4a9b0d6 100644 --- a/src/app/tabs/runTab/contractDropdown.js +++ b/src/app/tabs/runTab/contractDropdown.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') diff --git a/src/app/ui/sendTxCallbacks.js b/src/app/ui/sendTxCallbacks.js index 02ed7e619c..b531ad20c0 100644 --- a/src/app/ui/sendTxCallbacks.js +++ b/src/app/ui/sendTxCallbacks.js @@ -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 )