From 0c1591d6300bfc1f092bdb7989cf51e6c226539e Mon Sep 17 00:00:00 2001 From: clemahieu Date: Thu, 12 Feb 2015 22:42:22 -0600 Subject: [PATCH] Updating beta public key for new hash function. --- rai/cli/entry.cpp | 2 +- rai/secure.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rai/cli/entry.cpp b/rai/cli/entry.cpp index 4c0440037e..d2b9278408 100644 --- a/rai/cli/entry.cpp +++ b/rai/cli/entry.cpp @@ -145,7 +145,7 @@ int main (int argc, char * const * argv) prv.decode_hex (vm ["expand_key"].as ()); rai::uint256_union pub; ed25519_publickey (prv.bytes.data (), pub.bytes.data ()); - std::cout << "Public: " << pub.to_string () << std::endl << "Account: " << pub.to_base58check () << std::endl; + std::cout << "Private: " << prv.to_string () << std::endl << "Public: " << pub.to_string () << std::endl << "Account: " << pub.to_base58check () << std::endl; } else if (vm.count ("get_account")) { diff --git a/rai/secure.cpp b/rai/secure.cpp index b6cc3dfd7e..7bcce8fa33 100644 --- a/rai/secure.cpp +++ b/rai/secure.cpp @@ -15,7 +15,7 @@ namespace { std::string rai_test_private_key = "34F0A37AAD20F4A260F0A5B3CB3D7FB50673212263E58A380BC10474BB039CE4"; std::string rai_test_public_key = "FA5B51D063BADDF345EFD7EF0D3C5FB115C85B1EF4CDE89D8B7DF3EAF60A04A4"; // U8NzqpKcVn8AFrFd8YVSS6LvYHfufveHwvYhwCoGbDqth5FjVu - std::string rai_beta_public_key = "1A99D99731BC08252C8762FBB2CBB7BA3520039109FCE869C75406E722C636E3"; // TV67A7XWyLF7njTjTZC9zQ4iLftsVDRQUDmW7LieZzqZm2gMnz + std::string rai_beta_public_key = "25FEB3B0C2506F953A9CA97281954EA161A03DA04ED0E558AA978A6F08AF56FC"; // SHA57oWXA6S6BogbvVvhUZY2FQ1WAuLGYvcPTxvLncFdHtghvK std::string rai_live_public_key = "0"; }