github.com/keybase/client/go@v0.0.0-20241007131713-f10651d043c8/kbfs/libkbfs/verify_local_block_id_production.go (about)

     1  // Copyright 2020 Keybase Inc. All rights reserved.
     2  // Use of this source code is governed by a BSD
     3  // license that can be found in the LICENSE file.
     4  
     5  //go:build production
     6  // +build production
     7  
     8  package libkbfs
     9  
    10  import "github.com/keybase/client/go/kbfs/kbfsblock"
    11  
    12  func verifyLocalBlockIDMaybe(_ []byte, _ kbfsblock.ID) error {
    13  	// Don't bother verifying local block IDs when we're in production
    14  	// mode, since it's expensive.
    15  	return nil
    16  }