linting fix & comments

pull/5370/head
aniket-engg 5 years ago
parent 5b9d65996a
commit a841a6a4d4
  1. 4
      remix-lib/test/txFormat.js

@ -249,9 +249,9 @@ tape('test fallback & receive function', function (t) {
let output = compiler.compile(compilerInput(fallbackAndReceiveFunction))
output = JSON.parse(output)
const contract = output.contracts['test.sol']['fallbackAndReceiveFunctionContract']
st.equal(txHelper.encodeFunctionId(contract.abi[2]), '0x')
st.equal(txHelper.encodeFunctionId(contract.abi[2]), '0x') // for receive function
st.equal(txHelper.encodeFunctionId(contract.abi[1]), '0x805da4ad')
st.equal(txHelper.encodeFunctionId(contract.abi[0]), '0x')
st.equal(txHelper.encodeFunctionId(contract.abi[0]), '0x') // for fallback function
})
})

Loading…
Cancel
Save