Remove unused argument from AlreadyInRealm::assert.

This commit is contained in:
Josh Matthews 2023-02-16 23:29:49 -05:00
parent fca5833e21
commit 5e5669b945
8 changed files with 10 additions and 12 deletions

View file

@ -87,7 +87,7 @@ impl Permissions {
let p = match promise {
Some(promise) => promise,
None => {
let in_realm_proof = AlreadyInRealm::assert(&self.global());
let in_realm_proof = AlreadyInRealm::assert();
Promise::new_in_current_realm(InRealm::Already(&in_realm_proof))
},
};