mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
Fix: no viable conversion from 'cryptonote::difficulty_type
https://github.com/moneroexamples/onion-monero-blockchain-explorer/issues/173
This commit is contained in:
parent
271addafac
commit
221fdbf8a8
1 changed files with 2 additions and 1 deletions
|
@ -1291,7 +1291,8 @@ show_block(uint64_t _blk_height)
|
|||
// initalise page tempate map with basic info about blockchain
|
||||
|
||||
string blk_pow_hash_str = pod_to_hex(get_block_longhash(blk, _blk_height));
|
||||
uint64_t blk_difficulty = core_storage->get_db().get_block_difficulty(_blk_height);
|
||||
uint64_t blk_difficulty = core_storage->get_db()
|
||||
.get_block_difficulty(_blk_height).convert_to<uint64_t>();
|
||||
|
||||
mstch::map context {
|
||||
{"testnet" , testnet},
|
||||
|
|
Loading…
Reference in a new issue