Commit e3e91a4d authored by Juan Batiz-Benet's avatar Juan Batiz-Benet
Browse files

p2p/crypto/secio: dont bother user with mac errs.

parent 46877f3f
......@@ -192,7 +192,7 @@ func (r *etmReader) macCheckThenDecrypt(m []byte) (int, error) {
// check mac. if failed, return error.
if !hmac.Equal(macd, expected) {
log.Error("MAC Invalid:", expected, "!=", macd)
log.Debug("MAC Invalid:", expected, "!=", macd)
return 0, ErrMACInvalid
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment