Skip to content

Commit

Permalink
Fix creating proposal that has functionName but no params
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrila committed May 3, 2024
1 parent f733362 commit e2ea65e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/crypto.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const encodeFunction = (

const abi = [
{
inputs: parseAbiParameters(_functionSignature),
inputs: _functionSignature ? parseAbiParameters(_functionSignature) : [],
name: _functionName,
type: 'function',
},
Expand Down

0 comments on commit e2ea65e

Please sign in to comment.