Skip to content

Commit

Permalink
Merge pull request #656 from ElrondNetwork/backwards-comp-whitelist-t…
Browse files Browse the repository at this point in the history
…ypo-fix

whitelist check typo fix
  • Loading branch information
sasurobert authored Dec 11, 2022
2 parents c1aa180 + 24412cc commit d5ef3db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion locked-asset/factory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ pub trait LockedAssetFactory:
#[endpoint(removeWhitelist)]
fn remove_whitelist(&self, address: ManagedAddress) {
let is_removed = self.whitelisted_contracts().remove(&address);
require!(is_removed, "ManagedAddresss not whitelisted");
require!(is_removed, "ManagedAddress not whitelisted");
}

#[endpoint(createAndForwardCustomPeriod)]
Expand Down

0 comments on commit d5ef3db

Please sign in to comment.