diff --git a/pkg/ueps/packet.go b/pkg/ueps/packet.go index 32a6762..4e5eb2d 100644 --- a/pkg/ueps/packet.go +++ b/pkg/ueps/packet.go @@ -14,7 +14,7 @@ var errTLVValueTooLarge = packetError("TLV value too large for 1-byte length hea type packetError string -func (e packetError) Error() string { return string(e) } +func (packetErr packetError) Error() string { return string(packetErr) } // writeTLV(buffer, TagVersion, []byte{0x09}); writeTLV(buffer, TagHMAC, hmacSignature); buffer.WriteByte(TagPayload) const (