We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 628bb92 commit 9b3e86dCopy full SHA for 9b3e86d
libs/remix-lib/src/execution/txRunnerWeb3.ts
@@ -73,13 +73,13 @@ export class TxRunnerWeb3 {
73
74
if (useCall) {
75
tx['gas'] = gasLimit
76
- if(this._api && this._api.isVM()) tx['timestamp'] = timestamp
77
- return this.getWeb3().eth.call(tx, function (error, result: any) {
78
- if (error) return callback(error)
79
- callback(null, {
80
- result: result
81
- })
+ if (this._api && this._api.isVM()) tx['timestamp'] = timestamp
+ return this.getWeb3().eth.call(tx, function (error, result: any) {
+ if (error) return callback(error)
+ callback(null, {
+ result: result
82
})
+ })
83
}
84
this.getWeb3().eth.estimateGas(tx, (err, gasEstimation) => {
85
if (err && err.message.indexOf('Invalid JSON RPC response') !== -1) {
0 commit comments