diff --git a/pkg/ueps/packet.go b/pkg/ueps/packet.go index c0538a8..4a8c158 100644 --- a/pkg/ueps/packet.go +++ b/pkg/ueps/packet.go @@ -16,7 +16,7 @@ var errTLVValueTooLarge = packetError("TLV value too large for 1-byte length hea // var errVersionMismatch = packetError("UEPS version not 0x09") 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 (