pub fn add_associated_key(
        &mut self,
        account_hash: AccountHash,
        weight: Weight,
    ) -> Result<(), AddKeyFailure> {
        self.associated_keys.add_key(account_hash, weight)
    }
/// Adds an associated key to an account.
Adds an associated key to an account.
Adds an associated key to an account .
pub fn add_associated_key(
        &mut self,
        account_hash: AccountHash,
        weight: Weight,
    ) -> Result<(), AddKeyFailure> {
        self.associated_keys.add_key(account_hash, weight)
    }
pub fn add_associated_key ( & mut self , account_hash : AccountHash , weight : Weight , ) -> Result < ( ) , AddKeyFailure > { self . associated_keys . add_key ( account_hash , weight ) }
Adds an associated key to an account.
Adds an associated key to an account .
&mut self
account_hash
AccountHash
weight
Weight
&mut self
account_hash
AccountHash
weight
Weight