update ristretto to fix deadlock #230
Annotations
10 errors and 11 warnings
lint:
kernel/internal/clock/time.go#L9
import 'github.com/MixinNetwork/mixin/config' is not allowed from list 'Main' (depguard)
|
lint:
kernel/internal/clock/time.go#L10
import 'github.com/MixinNetwork/mixin/logger' is not allowed from list 'Main' (depguard)
|
lint:
kernel/internal/clock/time.go#L23
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"clock reset not allowed in build version %s\", config.BuildVersion)" (err113)
|
lint:
kernel/internal/clock/time.go#L33
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"clock mock not allowed in build version %s\", config.BuildVersion)" (err113)
|
lint:
kernel/internal/clock/time.go#L16
inTest is a global variable (gochecknoglobals)
|
lint:
kernel/internal/clock/time.go#L17
mutex is a global variable (gochecknoglobals)
|
lint:
kernel/internal/clock/time.go#L18
mockDiff is a global variable (gochecknoglobals)
|
lint:
kernel/internal/clock/time.go#L13
kernel/internal/clock/time.go:13: Line contains TODO/BUG/FIXME: "FIXME GLOBAL VARIABLES" (godox)
|
lint:
kernel/internal/clock/time.go#L49
return with no blank line before (nlreturn)
|
lint:
kernel/internal/clock/time.go#L31
parameter name 'at' is too short for the scope of its usage (varnamelen)
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint:
util/base58/base58check_test.go#L61
redefines-builtin-id: redefinition of the built-in function len (revive)
|
lint:
common/deposit_test.go#L24
var-naming: var chainId should be chainID (revive)
|
lint:
common/custodian_test.go#L14
var-naming: const mainnetId should be mainnetID (revive)
|
lint:
common/space.go#L8
var-naming: struct field NodeId should be NodeID (revive)
|
lint:
common/custodian_test.go#L128
var-naming: var nodeId should be nodeID (revive)
|
lint:
common/custodian.go#L51
var-naming: func parameter networkId should be networkID (revive)
|
lint:
common/asset.go#L11
var-naming: var XINAssetId should be XINAssetID (revive)
|
lint:
common/custodian.go#L56
var-naming: var nodeId should be nodeID (revive)
|
lint:
common/node.go#L26
var-naming: method IdForNetwork should be IDForNetwork (revive)
|
lint:
common/asset.go#L12
var-naming: var BitcoinAssetId should be BitcoinAssetID (revive)
|