fix calling custom web3.js functions

pull/5370/head
yann300 1 year ago
parent 4b9b8f7dbf
commit 4d53a1ae08
  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