fix linting issues

pull/5370/head
Iuri Matias 5 years ago
parent b9f81ce14d
commit a576844f6b
  1. 4
      src/app/tabs/runTab/model/blockchain.js
  2. 2
      src/app/tabs/runTab/model/recorder.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
}

@ -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)

Loading…
Cancel
Save