Fixed header

This commit is contained in:
G 2022-04-01 07:37:13 +02:00 committed by GitHub
parent 07cf184336
commit 5e4c868d08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,9 @@
## Nim-LibP2P
## Copyright (c) 2020 Status Research & Development GmbH
## Licensed under either of
## * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
## * MIT license ([LICENSE-MIT](LICENSE-MIT))
## at your option.
## This file may not be copied, modified, or distributed except according to
## those terms.
# Waku Noise Protocols for Waku Payload Encryption
## See spec for more details:
## https://github.com/vacp2p/rfc/tree/master/content/docs/rfcs/35
##
## Implementation partially inspired by noise-libp2p:
## https://github.com/status-im/nim-libp2p/blob/master/libp2p/protocols/secure/noise.nim
{.push raises: [Defect].}
@ -275,4 +273,4 @@ proc decodeV2*(payload: seq[byte]): Option[PayloadV2] =
res.transport_message = payload[i..i+transport_message_len-1]
i+=transport_message_len
return some(res)
return some(res)