Skip to content

Commit

Permalink
remove wrong condition
Browse files Browse the repository at this point in the history
  • Loading branch information
UyenNhi committed Jun 7, 2023
1 parent 0972ad7 commit 605457f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion contracts/AdmodConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ contract AdmodConsumer is ChainlinkClient, ConfirmedOwner {
* data, then multiply by 1000000000000000000 (to remove decimal places from data).
*/
function requestWeekEarning() public returns (bytes32 requestId) {
require(link.balanceOf(beneficiary) == 0, "Previous earning needs distribution");
Chainlink.Request memory req = buildChainlinkRequest(
ggJobId,
address(this),
Expand Down

0 comments on commit 605457f

Please sign in to comment.