Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Dec 4, 2024
1 parent 35069e4 commit cb3e456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actors/market/tests/harness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@ pub fn publish_deals(
if deal.verified_deal {
// Expect query for the client's datacap balance, just once per client.
let client_id = deal.client.id().unwrap();
if client_verified_deals.contains_key(&client_id) {
if !client_verified_deals.contains_key(&client_id) {
rt.expect_send_simple(
DATACAP_TOKEN_ACTOR_ADDR,
ext::datacap::BALANCE_OF_METHOD,
Expand Down

0 comments on commit cb3e456

Please sign in to comment.