Skip to content

Commit

Permalink
fixed error
Browse files Browse the repository at this point in the history
  • Loading branch information
ndkazu committed Aug 2, 2023
1 parent d7d81b2 commit 5353fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pallets/roles/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ pub mod pallet {
let caller = ensure_signed(origin)?;
let proposal_all = Self::get_requested_role(&candidate).unwrap();
let index = proposal_all.proposal_index;
let result = Self::closing_vote(caller.clone(),candidate);
let result = Self::closing_vote(caller.clone(),candidate.clone());
if proposal_all.approved==true{
RequestedRoles::<T>::remove(&candidate);
}
Expand Down

0 comments on commit 5353fa4

Please sign in to comment.