forked from townforge/townforge
rpc: fix wrong top hash in cc_get_snapshot response
This commit is contained in:
parent
a2b168f33e
commit
cfa883088b
@ -4077,7 +4077,7 @@ namespace cryptonote
|
||||
RPCLockedTXN lock(m_core);
|
||||
BlockchainDB &db = m_core.get_blockchain_storage().get_db();
|
||||
|
||||
crypto::hash top_hash = db.top_block_hash(&snapshot.height);
|
||||
top_hash = db.top_block_hash(&snapshot.height);
|
||||
snapshot.top_hash = epee::string_tools::pod_to_hex(top_hash);
|
||||
|
||||
uint32_t max_flags = db.get_highest_cc_flag_id();
|
||||
|
Loading…
Reference in New Issue
Block a user