[#367] session: Support magic_number
field of RequestMetaHeader
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e9a8451fb7
commit
227a871a04
5 changed files with 47 additions and 1 deletions
|
@ -130,6 +130,7 @@ func generateRequestMetaHeader(empty, withOrigin bool) *session.RequestMetaHeade
|
|||
if !empty {
|
||||
m.SetEpoch(13)
|
||||
m.SetTTL(100)
|
||||
m.SetNetworkMagic(1337)
|
||||
}
|
||||
|
||||
m.SetXHeaders(GenerateXHeaders(empty))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue