Commit 6ebe250 1 parent 35dc7d8 commit 6ebe250 Copy full SHA for 6ebe250
File tree 1 file changed +2
-4
lines changed
identity_iota_core/packages/iota_identity/sources
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -133,9 +133,7 @@ module iota_identity::identity {
133
133
self.did_doc.approve_proposal <vector <u8 >, T >(cap, proposal_id);
134
134
}
135
135
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`.
139
137
public fun propose_deactivation (
140
138
self: &mut Identity ,
141
139
cap: &DelegationToken ,
@@ -477,7 +475,7 @@ module iota_identity::identity_tests {
477
475
// `controller1` creates a request to remove `controller3`.
478
476
let mut identity = scenario.take_shared <Identity >();
479
477
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);
481
479
482
480
let (token, borrow) = controller1_cap.borrow ();
483
481
let proposal_id = identity.propose_config_change (
You can’t perform that action at this time.
0 commit comments