Skip to content

Commit ff65d06

Browse files
authored
Merge pull request #1966 from pmconrad/1965_fix_GRAPHENE_EGENESIS_JSON
Fix #1965
2 parents 9942f79 + 6005987 commit ff65d06

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

CMakeLists.txt

+2-4
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,8 @@ endif()
114114
add_definitions (-fPIC)
115115

116116
set(CMAKE_EXPORT_COMPILE_COMMANDS "ON")
117-
set(GRAPHENE_EGENESIS_JSON "${CMAKE_CURRENT_SOURCE_DIR}/libraries/egenesis/genesis.json" )
118-
119-
#set (ENABLE_INSTALLER 1)
120-
#set (USE_PCH 1)
117+
set( GRAPHENE_EGENESIS_JSON "${CMAKE_CURRENT_SOURCE_DIR}/libraries/egenesis/genesis.json"
118+
CACHE STRING "Path to embedded genesis file" )
121119

122120
if (USE_PCH)
123121
include (cotire)

programs/cli_wallet/main.cpp

-11
Original file line numberDiff line numberDiff line change
@@ -182,17 +182,6 @@ int main( int argc, char** argv )
182182
setup_logging(options.at("logs-rpc-console-level").as<string>(),options.at("logs-rpc-file").as<bool>(),
183183
options.at("logs-rpc-file-level").as<string>(), options.at("logs-rpc-file-name").as<string>());
184184

185-
// key generation
186-
fc::ecc::private_key committee_private_key = fc::ecc::private_key::regenerate(fc::sha256::hash(string("null_key")));
187-
188-
idump( (key_to_wif( committee_private_key ) ) );
189-
190-
fc::ecc::private_key nathan_private_key = fc::ecc::private_key::regenerate(fc::sha256::hash(string("nathan")));
191-
public_key_type nathan_pub_key = nathan_private_key.get_public_key();
192-
idump( (nathan_pub_key) );
193-
idump( (key_to_wif( nathan_private_key ) ) );
194-
195-
//
196185
// TODO: We read wallet_data twice, once in main() to grab the
197186
// socket info, again in wallet_api when we do
198187
// load_wallet_file(). Seems like this could be better

0 commit comments

Comments
 (0)