Skip to content

Commit

Permalink
factory: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoAdoAdo committed Jul 26, 2022
1 parent 7c5aa28 commit a2f8e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions factory/crypto/cryptoComponentsHandler.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ func (mcc *managedCryptoComponents) MultiSignerContainer() cryptoCommon.MultiSig
return mcc.multiSignerContainer
}

// SetMultiSignerContainer -
// SetMultiSignerContainer sets the multiSigner container in the crypto components
func (mcc *managedCryptoComponents) SetMultiSignerContainer(ms cryptoCommon.MultiSignerContainer) error {
mcc.mutCryptoComponents.Lock()
mcc.multiSignerContainer = ms
Expand All @@ -214,7 +214,7 @@ func (mcc *managedCryptoComponents) SetMultiSignerContainer(ms cryptoCommon.Mult
return nil
}

// GetMultiSigner -
// GetMultiSigner returns the multiSigner configured in the multiSigner container for the given epoch
func (mcc *managedCryptoComponents) GetMultiSigner(epoch uint32) (crypto.MultiSigner, error) {
mcc.mutCryptoComponents.RLock()
defer mcc.mutCryptoComponents.RUnlock()
Expand Down

0 comments on commit a2f8e2c

Please sign in to comment.