Update main.go #737
Annotations
10 errors and 1 warning
staticcheck:
blockchain/blockchain.go#L31
package "github.com/multiformats/go-multiaddr" is being imported more than once (ST1019)
|
staticcheck
other import of "github.com/multiformats/go-multiaddr"
|
staticcheck:
blockchain/blockchain.go#L1003
func multiaddrsToStrings is unused (U1000)
|
staticcheck:
blockchain/blockchain.go#L1209
empty branch (SA9003)
|
staticcheck:
blockchain/blox.go#L408
this value of out is never used (SA4006)
|
staticcheck:
blockchain/blox.go#L446
this value of out is never used (SA4006)
|
staticcheck:
cmd/blox/main.go#L1104
this value of err is never used (SA4006)
|
staticcheck:
cmd/blox/main.go#L1274
func printMultiaddrAsQR is unused (U1000)
|
staticcheck:
modules/initipfs/main.go#L314
func fetchPoolUsers is unused (U1000)
|
staticcheck:
modules/initipfs/main.go#L378
func updateIPFSConfigBootstrap is unused (U1000)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading