Skip to content

Commit

Permalink
fix: use known selector instead of hard coded
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Oct 18, 2024
1 parent a9fcb78 commit 62f445c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types/Currency.sol
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ library CurrencyLibrary {
// revert with ERC20TransferFailed, containing the bubbled up error as an argument
if (!success) {
CustomRevert.bubbleUpAndRevertWith(
Currency.unwrap(currency), bytes4(0xa9059cbb), ERC20TransferFailed.selector
Currency.unwrap(currency), IERC20Minimal.transfer.selector, ERC20TransferFailed.selector
);
}
}
Expand Down

0 comments on commit 62f445c

Please sign in to comment.