code: func (nDB *NetworkDB) RemoveKey(key []byte) {
  	logrus.Debugf("Remove Key %.5s", hex.EncodeToString(key))
  	nDB.Lock()
  	defer nDB.Unlock()
  	for i, dbKey := range nDB.config.Keys {
  		if bytes.Equal(key, dbKey) {
  			nDB.config.Keys = append(nDB.config.Keys[:i], nDB.config.Keys[i+1:]...)
  			if nDB.keyring != nil {
  				nDB.keyring.RemoveKey(dbKey)
  			}
  			break
  		}
  	}
  }
docs: // RemoveKey removes a key from the key ring. The key being removed
  // can't be the primary key