refactor getLastCallChangeSince

refactor_remix_debug4
Iuri Matias 5 years ago
parent f2b4694373
commit 0e2a596444
  1. 9
      libs/remix-debug/src/solidity-decoder/solidityProxy.js

@ -97,9 +97,12 @@ class SolidityProxy {
*/ */
extractStateVariablesAt (vmtraceIndex) { extractStateVariablesAt (vmtraceIndex) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
this.contractNameAt(vmtraceIndex).then((contractName) => { this.contractNameAt(vmtraceIndex, (error, contractName) => {
resolve(this.extractStateVariables(contractName)) if (error) {
}).catch(reject) return reject(error)
}
return resolve(this.extractStateVariables(contractName))
})
}) })
} }

Loading…
Cancel
Save