Skip to content

Commit

Permalink
Removed mapper variable
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Baltariu <[email protected]>
  • Loading branch information
andreiblt1304 committed Nov 21, 2024
1 parent 06724ef commit 5d16078
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sovereign-forge/src/phases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ pub trait PhasesModule:
{
#[endpoint(completeSetupPhase)]
fn complete_setup_phase(&self) {
let is_setup_complete_mapper = self.setup_phase_complete();

if !self.is_setup_phase_complete() {
return;
}
Expand All @@ -42,7 +40,7 @@ pub trait PhasesModule:
);
}

is_setup_complete_mapper.set(true);
self.setup_phase_complete().set(true);
}

#[payable("EGLD")]
Expand Down

0 comments on commit 5d16078

Please sign in to comment.