From 577b81d49b1e12fa9961e592e9b20c8c4389a87c Mon Sep 17 00:00:00 2001 From: mcamou Date: Tue, 12 Nov 2024 15:45:10 +0100 Subject: [PATCH] Lint fixes --- pkg/masacrypto/key_manager.go | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/pkg/masacrypto/key_manager.go b/pkg/masacrypto/key_manager.go index 59bee2cc..596922e6 100644 --- a/pkg/masacrypto/key_manager.go +++ b/pkg/masacrypto/key_manager.go @@ -3,7 +3,6 @@ package masacrypto import ( "crypto/ecdsa" "fmt" - "sync" ethCrypto "github.com/ethereum/go-ethereum/crypto" "github.com/libp2p/go-libp2p/core/crypto" @@ -29,19 +28,6 @@ import ( // to Ethereum address format. // - Ensures thread-safe initialization and access to the cryptographic keys through the // use of the sync.Once mechanism. -// -// Usage: -// To access the KeyManager and its functionalities, use the KeyManagerInstance() function -// which returns the singleton instance of KeyManager. This instance can then be used to -// perform various key management tasks, such as retrieving the application's cryptographic -// keys, converting key formats, and more. -// Example: -// keyManager := crypto.KeyManagerInstance() - -var ( - keyManagerInstance *KeyManager - once sync.Once -) // KeyManager holds all the cryptographic entities used in the application. type KeyManager struct {