Skip to content

Commit

Permalink
refactor: remove unnecessary usage of assert_self
Browse files Browse the repository at this point in the history
  • Loading branch information
denbite committed Sep 24, 2024
1 parent ab33d9c commit 5178695
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ use helpers::{
create_sign_promise, create_tx_and_args_for_sign, refund_unused_deposit,
};
use near_sdk::{
assert_self,
env::{self, block_timestamp},
near, require,
store::LookupMap,
Expand Down Expand Up @@ -44,8 +43,6 @@ impl Contract {

#[private]
pub fn set_mpc_contract_id(&mut self, account_id: AccountId) {
assert_self();

self.mpc_contract_id = account_id;
}

Expand Down

0 comments on commit 5178695

Please sign in to comment.