Cap the domain deposit amount for certain assets (#157) #10
Annotations
10 errors and 6 warnings
lint:
common/transaction.go#L28
`outputTypeNodeResign` is unused (deadcode)
|
lint:
common/transaction.go#L43
`transactionTypeNodeResign` is unused (deadcode)
|
lint:
common/deposit_test.go#L41
Error return value of `rand.Read` is not checked (errcheck)
|
lint:
common/encoding.go#L315
Error return value of `enc.WriteByte` is not checked (errcheck)
|
lint:
common/encoding.go#L330
Error return value of `enc.WriteByte` is not checked (errcheck)
|
lint:
common/encoding.go#L342
Error return value of `enc.WriteByte` is not checked (errcheck)
|
lint:
common/extra_test.go#L25
Error return value of `rand.Read` is not checked (errcheck)
|
lint:
common/transaction_test.go#L29
Error return value of `rand.Read` is not checked (errcheck)
|
lint:
common/custodian.go#L147
Function 'validateCustodianUpdateNodes' has too many statements (44 > 40) (funlen)
|
lint:
common/decoding.go#L31
Function 'DecodeSnapshotWithTopo' has too many statements (47 > 40) (funlen)
|
lint:
kernel/election.go#L179
unused-parameter: parameter 's' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/consensus_test.go#L1161
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/custodian.go#L5
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/http.go#L27
unused-parameter: parameter 'r' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
rpc/info.go#L125
unused-parameter: parameter 'params' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
command.go#L964
unused-parameter: parameter 'deposit' seems to be unused, consider removing or renaming it as _ (revive)
|