fixed race condition in ECIESx25519 tags table

This commit is contained in:
orignal 2024-01-11 14:09:08 -05:00
parent 828facab57
commit 2ad26dd4c9
3 changed files with 23 additions and 2 deletions

View file

@ -116,7 +116,7 @@ namespace tunnel
if (m_Pool && m_Pool->GetLocalDestination ())
m_Pool->GetLocalDestination ()->SubmitECIESx25519Key (key, tag);
else
i2p::context.AddECIESx25519Key (key, tag);
i2p::context.SubmitECIESx25519Key (key, tag);
}
i2p::transport::transports.SendMessage (GetNextIdentHash (), msg);
}