From 79de75f172f0fe1cc10e471dca66f40ad7a46b9f Mon Sep 17 00:00:00 2001
From: moneroexamples <moneroexamples@tuta.io>
Date: Mon, 5 Dec 2016 12:21:02 +0800
Subject: [PATCH] xmreg::get_dummy_account_keys removed because not used

---
 src/tools.cpp | 37 -------------------------------------
 src/tools.h   |  4 ----
 2 files changed, 41 deletions(-)

diff --git a/src/tools.cpp b/src/tools.cpp
index 25aebad..13332db 100644
--- a/src/tools.cpp
+++ b/src/tools.cpp
@@ -807,43 +807,6 @@ parse_crow_post_data(const string& req_body)
     return body;
 }
 
-bool
-get_dummy_account_keys(account_keys& dummy_keys, bool testnet)
-{
-    secret_key adress_prv_viewkey;
-    secret_key adress_prv_spendkey;
-
-    account_public_address dummy_address;
-
-    if (!get_account_address_from_str(dummy_address,
-                                 testnet,
-                                 "4BAyX63gVQgDqKS1wmqNVHdcCNjq1jooLYCXsKEY9w7VdGh45oZbPLvN7y8oVg2zmnhECkRBXpREWb97KtfAcT6p1UNXm9K"))
-    {
-        return false;
-    }
-
-
-    if (!epee::string_tools::hex_to_pod("f238be69411631f35b76c5a9148b3b7e8327eb41bfd0b396e090aeba40235d01", adress_prv_viewkey))
-    {
-        return false;
-    }
-
-    if (!epee::string_tools::hex_to_pod("5db8e1d2c505f888e54aca15b1a365c8814d7deebc1a246690db3bf71324950d", adress_prv_spendkey))
-    {
-        return false;
-    }
-
-
-    dummy_keys = account_keys {
-            dummy_address,
-            adress_prv_spendkey,
-            adress_prv_viewkey
-    };
-
-    return true;
-}
-
-
 
 // from wallet2::decrypt
 string
diff --git a/src/tools.h b/src/tools.h
index 1b0e3c1..e81a0d6 100644
--- a/src/tools.h
+++ b/src/tools.h
@@ -235,10 +235,6 @@ url_decode(const std::string& in, std::string& out);
 map<std::string, std::string>
 parse_crow_post_data(const string& req_body);
 
-bool
-get_dummy_account_keys(account_keys& dummy_keys, bool testnet = false);
-
-
 // from wallet2::decrypt
 string
 decrypt(const std::string &ciphertext,