|
|
@ -2891,6 +2891,7 @@ namespace tools
|
|
|
|
cryptonote::COMMAND_RPC_GET_HEIGHT::response hres;
|
|
|
|
cryptonote::COMMAND_RPC_GET_HEIGHT::response hres;
|
|
|
|
hres.height = 0;
|
|
|
|
hres.height = 0;
|
|
|
|
bool r = wal->invoke_http_json("/getheight", hreq, hres);
|
|
|
|
bool r = wal->invoke_http_json("/getheight", hreq, hres);
|
|
|
|
|
|
|
|
if (r)
|
|
|
|
wal->set_refresh_from_block_height(hres.height);
|
|
|
|
wal->set_refresh_from_block_height(hres.height);
|
|
|
|
crypto::secret_key dummy_key;
|
|
|
|
crypto::secret_key dummy_key;
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|