Browse Source

correct msg for first peer test message

pull/1763/head
orignal 3 years ago
parent
commit
84aec9fe31
  1. 2
      libi2pd/SSU2.cpp

2
libi2pd/SSU2.cpp

@ -1607,7 +1607,7 @@ namespace transport @@ -1607,7 +1607,7 @@ namespace transport
s.Insert (GetRemoteIdentity ()->GetIdentHash (), 32); // bhash
s.Insert (signedData, 7 + asz); // ver, nonce, ts, asz, Alice's endpoint
s.Sign (i2p::context.GetPrivateKeys (), signedData + 7 + asz);
return CreatePeerTestBlock (buf, len, 0, i2p::context.GetIdentHash (),
return CreatePeerTestBlock (buf, len, 1, i2p::context.GetIdentHash (),
signedData, 7 + asz + i2p::context.GetIdentity ()->GetSignatureLen ());
}

Loading…
Cancel
Save