Unverified Commit 296166fe authored by yann300's avatar yann300 Committed by GitHub

Update txHelper.js

parent 67566037
......@@ -21,6 +21,7 @@ module.exports = {
},
encodeFunctionId: function (funABI) {
if (funABI.type === 'fallback') return ''
var abi = new ethers.Interface([funABI])
abi = abi.functions[funABI.name]
return abi.sighash
......
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