pull/5370/head
yann300 4 years ago
parent cd5a4ad55d
commit 956c03ed5b
  1. 2
      libs/remix-debug/src/solidity-decoder/types/RefType.ts

@ -63,7 +63,7 @@ export class RefType {
const ethersAbi = new ethers.utils.Interface(variableDetails.abi)
const fnSign = calldata.substr(0, 10)
const decodedData = ethersAbi.decodeFunctionData(ethersAbi.getFunction(fnSign), calldata)
let decodedValue = decodedData[variableDetails.name]
const decodedValue = decodedData[variableDetails.name]
const isArray = Array.isArray(decodedValue)
if (isArray) {
return this._decodeCallDataArray(decodedValue, this)

Loading…
Cancel
Save