Skip to content

Commit

Permalink
Fix encoding actions
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Jan 26, 2024
1 parent bda3258 commit 2331163
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/context/createProposal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,11 @@ const CreateProposalWrapper: React.FC<Props> = ({
if (!pluginClient || !client || !daoDetails?.address)
return Promise.resolve([] as DaoAction[]);

for await (const action of getNonEmptyActions(actionsFromForm)) {
for await (const action of getNonEmptyActions(
actionsFromForm,
isMultisigVotingSettings(votingSettings) ? votingSettings : undefined,
isGaslessVotingSettings(votingSettings) ? votingSettings : undefined
)) {
switch (action.name) {
case 'withdraw_assets': {
actions.push(
Expand Down

0 comments on commit 2331163

Please sign in to comment.