forked from quic-go/quic-go
wire: use constants for frame types (#3739)
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
type HandshakeDoneFrame struct{}
|
||||
|
||||
func (f *HandshakeDoneFrame) Append(b []byte, _ protocol.VersionNumber) ([]byte, error) {
|
||||
return append(b, 0x1e), nil
|
||||
return append(b, handshakeDoneFrameType), nil
|
||||
}
|
||||
|
||||
// Length of a written frame
|
||||
|
||||
Reference in New Issue
Block a user