diff --git a/src/app/tabs/runTab/model/blockchain.js b/src/app/tabs/runTab/model/blockchain.js index aa939ef3ff..7d84e261fe 100644 --- a/src/app/tabs/runTab/model/blockchain.js +++ b/src/app/tabs/runTab/model/blockchain.js @@ -14,7 +14,7 @@ class Blockchain { this.setupEvents() } - setupEvents() { + setupEvents () { this.executionContext.event.register('contextChanged', () => { this.event.trigger('contextChanged', []) }) @@ -137,7 +137,7 @@ class Blockchain { return determineGasFeesCb } - getAddressFromTransactionResult(txResult) { + getAddressFromTransactionResult (txResult) { return this.executionContext.isVM() ? txResult.result.createdAddress : txResult.result.contractAddress } diff --git a/src/app/tabs/runTab/model/recorder.js b/src/app/tabs/runTab/model/recorder.js index c6f7eefa95..e56cdb5374 100644 --- a/src/app/tabs/runTab/model/recorder.js +++ b/src/app/tabs/runTab/model/recorder.js @@ -247,7 +247,7 @@ class Recorder { logCallBack(`(${index}) data: ${data.data}`) record.data = { dataHex: data.data, funArgs: tx.record.parameters, funAbi: fnABI, contractBytecode: tx.record.bytecode, contractName: tx.record.contractName, timestamp: tx.timestamp } - self.blockchain.runTransaction (record, continueCb, promptCb, confirmationCb, + self.blockchain.runTransaction(record, continueCb, promptCb, confirmationCb, function (err, txResult) { if (err) { console.error(err)