mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
fixed API build error
This commit is contained in:
parent
49173da84d
commit
404f21ea76
1 changed files with 2 additions and 1 deletions
|
@ -53,7 +53,8 @@ namespace api
|
||||||
|
|
||||||
i2p::client::ClientDestination * CreateLocalDestination (bool isPublic, i2p::data::SigningKeyType sigType)
|
i2p::client::ClientDestination * CreateLocalDestination (bool isPublic, i2p::data::SigningKeyType sigType)
|
||||||
{
|
{
|
||||||
auto localDestination = new i2p::client::ClientDestination (isPublic, sigType);
|
i2p::data::PrivateKeys keys = i2p::data::PrivateKeys::CreateRandomKeys (sigType);
|
||||||
|
auto localDestination = new i2p::client::ClientDestination (keys, isPublic);
|
||||||
localDestination->Start ();
|
localDestination->Start ();
|
||||||
return localDestination;
|
return localDestination;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue