mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-02 16:31:56 +03:00
Fix lint
This commit is contained in:
@@ -70,8 +70,8 @@ func (suite *WelcomeTestSuite) TestOk() {
|
||||
copy(welcomePacket[11:], empty)
|
||||
|
||||
mac := hmac.New(sha256.New, suite.secret.Key[:])
|
||||
mac.Write(suite.h.Random[:])
|
||||
mac.Write(welcomePacket)
|
||||
mac.Write(suite.h.Random[:]) // nolint: errcheck
|
||||
mac.Write(welcomePacket) // nolint: errcheck
|
||||
|
||||
suite.Equal(random, mac.Sum(nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user