Fixed build error: BlindedPublicKey only takes ident as argument now.

This commit is contained in:
Mikal Villa 2019-08-02 22:02:29 +02:00
parent 25b1166fd9
commit 848c63bbde
No known key found for this signature in database
GPG key ID: E19BDC745468A065

View file

@ -15,7 +15,7 @@ int main(int argc, char * argv[])
{
if (ident->GetSigningKeyType () == i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519)
{
i2p::data::BlindedPublicKey blindedKey (ident, i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519);
i2p::data::BlindedPublicKey blindedKey (ident);
std::cout << "b33 address: " << blindedKey.ToB33 () << ".b32.i2p" << std::endl;
std::cout << "Today's store hash: " << blindedKey.GetStoreHash ().ToBase64 () << std::endl;
}