Commit b2d914c7 authored by Iuri Matias's avatar Iuri Matias

fix linting issues

parent 0d5765b4
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment