Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Zaremba <[email protected]>
  • Loading branch information
sczembor and robert-zaremba authored Sep 25, 2023
1 parent 6f77c46 commit e27454a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/registry/src/registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ impl SBTRegistry for Contract {
Some(MAX_REVOKE_PER_CALL),
Some(true),
);
let tokens_by_owner_supply = self.sbt_supply_by_owner(owner.clone(), issuer.clone(), None);
let remaining_supply = self.sbt_supply_by_owner(owner.clone(), issuer.clone(), None);
let tokens_len = tokens_by_owner[0].1.len();
if tokens_by_owner.is_empty() {
return true;
Expand Down

0 comments on commit e27454a

Please sign in to comment.