fix calling custom web3.js functions

pull/4108/head
yann300 1 year ago
parent 74677d3ae7
commit 55ecfcf013
  1. 2
      apps/remix-ide/src/blockchain/blockchain.tsx

@ -870,7 +870,7 @@ export class Blockchain extends Plugin {
const isVM = this.executionContext.isVM()
if (isVM && tx.useCall) {
try {
result.transactionHash = await this.web3().eth.getHashFromTagBySimulator(timestamp)
result.transactionHash = await this.web3().testPlugin.getHashFromTagBySimulator(timestamp)
} catch (e) {
console.log('unable to retrieve back the "call" hash', e)
}

Loading…
Cancel
Save