akildemir
2025-03-12 15:34:51 +03:00
parent 378ec75a6e
commit 1cf81058b6
15 changed files with 49 additions and 49 deletions

View File

@@ -48,7 +48,7 @@ int main(int argc, const char **argv)
crypto::public_key pkey;
crypto::random32_unbiased((unsigned char*)skey.data);
crypto::secret_key_to_public_key(skey, pkey);
printf("%s %s\n", epee::string_tools::pod_to_hex(skey).c_str(), epee::string_tools::pod_to_hex(pkey).c_str());
printf("%s %s\n", epee::string_tools::pod_to_hex(unwrap(unwrap(skey))).c_str(), epee::string_tools::pod_to_hex(pkey).c_str());
return 0;
}