Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Gjermund Garaba <[email protected]>
  • Loading branch information
sangier and gjermundgaraba authored Aug 6, 2024
1 parent 72ee601 commit 7d01d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ERC20CosmosCoinAmountConversion.sol
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ library ERC20CosmosCoinAmountConversion {
return DEFAULT_ERC20_DECIMALS;
}
}

// Convert ERC20 tokens decimals to Cosmos decimals units
// NOTE that the refund to the user of the remainder of the conversion should happen during the transfer.
/**
Expand All @@ -44,7 +45,6 @@ library ERC20CosmosCoinAmountConversion {
* @return convertedAmount The amount converted to uint64 supported by cosmos coins
* @return remainder The remainder of the conversion
*/

function _convertERC20AmountToCosmosCoin(
address tokenAddress,
uint256 amount
Expand Down

0 comments on commit 7d01d34

Please sign in to comment.