You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[/go/src/github.com/cosmos/cosmos-sdk/crypto/hd/hdpath.go:269] - G703 (CWE-): Returned error is not propagated up the stack. (Confidence: HIGH, Severity: LOW)
268: // sha512 does not err
> 269: _, _ = mac.Write(data)
270:
I've seen this error
[/go/src/github.com/cosmos/cosmos-sdk/crypto/hd/hdpath.go:269] - G703 (CWE-): Returned error is not propagated up the stack. (Confidence: HIGH, Severity: LOW) 268: // sha512 does not err > 269: _, _ = mac.Write(data) 270:
but really if we examine the signature per https://pkg.go.dev/hash#Hash we can see
We should check that the writer was of the type hash.Hash and ignore such reports.
The text was updated successfully, but these errors were encountered: