Skip to content

Commit

Permalink
Update ui/ducks/send/send.js
Browse files Browse the repository at this point in the history
Co-authored-by: legobeat <[email protected]>
  • Loading branch information
ejwessel and legobeat authored Sep 12, 2024
1 parent c1018c2 commit d4b6997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/ducks/send/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -2679,7 +2679,7 @@ export function updateSendAsset(

if (details.standard === TokenStandard.ERC20) {
asset.balance =
details.balance && details.decimals >= 0
details.balance && typeof details.decimals === 'number'
? addHexPrefix(
calcTokenAmount(details.balance, details.decimals).toString(16),
)
Expand Down

0 comments on commit d4b6997

Please sign in to comment.