Skip to content

Commit 6ebe250

Browse files
committed
fix warning
1 parent 35dc7d8 commit 6ebe250

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

identity_iota_core/packages/iota_identity/sources/identity.move

+2-4
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ module iota_identity::identity {
133133
self.did_doc.approve_proposal<vector<u8>, T>(cap, proposal_id);
134134
}
135135

136-
/// Proposes the deativates the DID Document contained in this `Identity`.
137-
/// This function can deactivate the DID Document right away if `cap` has
138-
/// enough voting power.
136+
/// Proposes the deativation of the DID Document contained in this `Identity`.
139137
public fun propose_deactivation(
140138
self: &mut Identity,
141139
cap: &DelegationToken,
@@ -477,7 +475,7 @@ module iota_identity::identity_tests {
477475
// `controller1` creates a request to remove `controller3`.
478476
let mut identity = scenario.take_shared<Identity>();
479477
let mut controller1_cap = scenario.take_from_address<ControllerCap>(controller1);
480-
let mut controller3_cap = scenario.take_from_address<ControllerCap>(controller3);
478+
let controller3_cap = scenario.take_from_address<ControllerCap>(controller3);
481479

482480
let (token, borrow) = controller1_cap.borrow();
483481
let proposal_id = identity.propose_config_change(

0 commit comments

Comments
 (0)