Commit ae684a13 authored by aniket-engg's avatar aniket-engg Committed by Aniket

linting

parent c755c05f
......@@ -22,7 +22,7 @@ function getLastTransactionHash (browser: NightwatchBrowser, callback: (hash: st
const current = deployedContracts[i]
const attr = current.getAttribute('data-id')
// For web3 provider, a contract call simulates a tx hash starting with 'block_txcall'
if (attr && ( attr.replace('block_tx', '').startsWith('0x') || attr.replace('block_txcall', '').startsWith('0x'))) {
if (attr && (attr.replace('block_tx', '').startsWith('0x') || attr.replace('block_txcall', '').startsWith('0x'))) {
return attr.replace('block_tx', '')
}
}
......
......@@ -107,7 +107,7 @@ module.exports = {
// Test in Udapp UI , treeViewDiv0 shows returned value on method click
.assert.containsText('*[data-id="treeViewDiv0"]', 'bytes32: winnerName_ 0x48656c6c6f20576f726c64210000000000000000000000000000000000000000')
.end()
},
}
}
const localsCheck = {
......
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