We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e9e51 commit 54e6793Copy full SHA for 54e6793
src/Orders.sol
@@ -42,7 +42,7 @@ abstract contract OrderDestination {
42
/// @param token - The address of the token to be transferred to the recipient.
43
/// address(0) corresponds to native Ether.
44
/// @param amount - The amount of the token to be transferred to the recipient.
45
- function fill(address recipient, address token, uint256 amount) public payable {
+ function fill(address recipient, address token, uint256 amount) external payable {
46
if (token == address(0)) {
47
require(amount == msg.value);
48
payable(recipient).transfer(msg.value);
0 commit comments