Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
dianakocsis committed Oct 2, 2024
1 parent 8ea6b67 commit 072102f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libraries/SafeERC20Metadata.sol
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ library SafeERC20Metadata {
if (currency.isAddressZero()) {
return 18;
}
(bool success, bytes memory data) = Currency.unwrap(currency).staticcall(abi.encodeCall(IERC20Metadata.decimals, ()));
(bool success, bytes memory data) =
Currency.unwrap(currency).staticcall(abi.encodeCall(IERC20Metadata.decimals, ()));
if (!success) {
return 0;
}
Expand Down

0 comments on commit 072102f

Please sign in to comment.