fix duplicate import statement

pull/3262/head^2
yann300 2 years ago committed by Aniket
parent dd2b24aba9
commit 6c50d75395
  1. 3
      libs/remix-simulator/src/VmProxy.ts

@ -3,7 +3,6 @@ const { hexListFromBNs, formatMemory } = util
import { helpers } from '@remix-project/remix-lib'
const { normalizeHexAddress } = helpers.ui
import { ConsoleLogs } from '@remix-project/remix-lib'
import { isBigNumber } from 'web3-utils'
import { toChecksumAddress, BN, keccak, bufferToHex, Address, toBuffer } from 'ethereumjs-util'
import utils from 'web3-utils'
import { ethers } from 'ethers'
@ -249,7 +248,7 @@ export class VmProxy {
}
let consoleArgs = iface.decodeFunctionData(functionDesc, payload)
consoleArgs = consoleArgs.map((value) => {
if (isBigNumber(value)) {
if (utils.isBigNumber(value)) {
return value.toString()
}
return value

Loading…
Cancel
Save