mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 12:44:01 +03:00
Update to go 1.19
This commit is contained in:
@@ -41,7 +41,7 @@ func (r *HandshakeResponse) Valid() error {
|
||||
// NewHandshakeResponse constructs new handshake response from the given
|
||||
// data.
|
||||
func NewHandshakeResponse(data []byte) (*HandshakeResponse, error) {
|
||||
if len(data) != 32 { // nolint: gomnd
|
||||
if len(data) != 32 { //nolint: gomnd
|
||||
return nil, fmt.Errorf("incorrect handshake response length %d", len(data))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user