Do not clear instance list for AtAddress

pull/1925/head
David Disu 3 years ago
parent 6480e5724c
commit 5353a094c8
  1. 1
      libs/remix-ui/run-tab/src/lib/actions/index.ts

@ -548,7 +548,6 @@ export const clearInstances = () => {
export const loadAddress = (contract: ContractData, address: string) => { export const loadAddress = (contract: ContractData, address: string) => {
if (!contract) return dispatch(displayPopUp('No compiled contracts found.')) if (!contract) return dispatch(displayPopUp('No compiled contracts found.'))
clearInstances()
loadContractFromAddress(address, loadContractFromAddress(address,
(cb) => { (cb) => {
dispatch(displayNotification('At Address', `Do you really want to interact with ${address} using the current ABI definition?`, 'OK', 'Cancel', cb, null)) dispatch(displayNotification('At Address', `Do you really want to interact with ${address} using the current ABI definition?`, 'OK', 'Cancel', cb, null))

Loading…
Cancel
Save