Browse Source

Merge pull request #61 from mikalv/master

Fixed build error: BlindedPublicKey only takes ident as argument now.
pull/63/head
orignal 5 years ago committed by GitHub
parent
commit
84dcb08ff0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      b33address.cpp

2
b33address.cpp

@ -15,7 +15,7 @@ int main(int argc, char * argv[]) @@ -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;
}

Loading…
Cancel
Save