Skip to content

Commit

Permalink
Merge pull request #5670 from brave/fix-claim-flow
Browse files Browse the repository at this point in the history
Redeem id can be empty
  • Loading branch information
NejcZdovc authored May 28, 2020
2 parents 384ae75 + 0967848 commit 8fec9f5
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,12 +496,6 @@ void DatabaseUnblindedToken::MarkRecordListAsSpent(
return;
}

if (redeem_id.empty()) {
BLOG(0, "Redeem id is empty");
callback(ledger::Result::LEDGER_ERROR);
return;
}

auto transaction = ledger::DBTransaction::New();

const std::string query = base::StringPrintf(
Expand Down

0 comments on commit 8fec9f5

Please sign in to comment.