1
0
Fork 0
forked from lthn/blockchain

extra log in wallet

This commit is contained in:
cryptozoidberg 2020-05-06 21:41:42 +02:00
parent 60101dc1f5
commit 62106ff4f3
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC

View file

@ -1162,7 +1162,7 @@ void wallet2::pull_blocks(size_t& blocks_added, std::atomic<bool>& stop)
bool r = m_core_proxy->call_COMMAND_RPC_GET_BLOCKS_DIRECT(req, res);
if (!r)
throw error::no_connection_to_daemon(LOCATION_STR, "getblocks.bin");
WLT_LOG_L0("COMMAND_RPC_GET_BLOCKS_DIRECT: " << epee::serialization::store_t_to_json(req));
if (res.status == CORE_RPC_STATUS_GENESIS_MISMATCH)
{
WLT_LOG_MAGENTA("Reseting genesis block...", LOG_LEVEL_0);