Closed joshuasing closed 2 months ago
Summary Fix a couple issues reported by Staticcheck in BFG.
Changes
errors.Is
processBitcoinBlock
(err, target)
v.publicKey
handleAccessPublicKeys
len(nilSlice)
Summary Fix a couple issues reported by Staticcheck in BFG.
Changes
errors.Is
inprocessBitcoinBlock
, the correct order is(err, target)
(SA1032).v.publicKey
inhandleAccessPublicKeys
, aslen(nilSlice)
is zero (S1009).