|
|
@ -73,7 +73,7 @@ export class TxRunnerWeb3 { |
|
|
|
|
|
|
|
|
|
|
|
if (useCall) { |
|
|
|
if (useCall) { |
|
|
|
tx['gas'] = gasLimit |
|
|
|
tx['gas'] = gasLimit |
|
|
|
if(this._api && this._api.isVM()) tx['timestamp'] = timestamp |
|
|
|
if (this._api && this._api.isVM()) tx['timestamp'] = timestamp |
|
|
|
return this.getWeb3().eth.call(tx, function (error, result: any) { |
|
|
|
return this.getWeb3().eth.call(tx, function (error, result: any) { |
|
|
|
if (error) return callback(error) |
|
|
|
if (error) return callback(error) |
|
|
|
callback(null, { |
|
|
|
callback(null, { |
|
|
|