Skip to content

Commit

Permalink
Merge pull request #441 from HausDAO/fix/decoding-error
Browse files Browse the repository at this point in the history
transfer encoding error issue
  • Loading branch information
skuhlmann authored Oct 27, 2023
2 parents c710b40 + 749b0ac commit 63368ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/moloch-v3-macro-ui/src/utils/proposalDetailsHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const getValueFromMintOrTransferAction = (
): string => {
if (
actionData.params[0].name !== 'to' &&
!['amount', '_value'].includes(actionData.params[1].name)
!['amount', '_value', 'wad'].includes(actionData.params[1].name)
) {
return 'decoding error';
}
Expand Down Expand Up @@ -78,7 +78,7 @@ const getRecipientAddressFromMintOrTransferAction = (
): string => {
if (
actionData.params[0].name !== 'to' &&
!['amount', '_value'].includes(actionData.params[1].name)
!['amount', '_value', 'wad'].includes(actionData.params[1].name)
) {
return 'decoding error';
}
Expand Down

0 comments on commit 63368ff

Please sign in to comment.