Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update contracts/token/ERC777/ERC777.sol
Co-authored-by: Francisco <[email protected]>
  • Loading branch information
JulissaDantes and frangio authored Jan 12, 2023
commit df7ff4624baeeb09c882c79e0a4b3861e5a28c2e
2 changes: 1 addition & 1 deletion contracts/token/ERC777/ERC777.sol
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ contract ERC777 is Context, IERC777, IERC20 {
IERC777Recipient(implementer).tokensReceived(operator, from, to, amount, userData, operatorData);
} else if (requireReceptionAck) {
require(
!(to.code.length > 0),
to.code.length == 0,
"ERC777: token recipient contract has no implementer for ERC777TokensRecipient"
);
}
Expand Down