rpc: Add unlock height to getblocktemplate

Signed-off-by: Matt Smith <matt@offtopica.uk>
This commit is contained in:
Matt Smith
2020-09-22 18:11:34 +01:00
parent b303931b23
commit 9364b49ecb
2 changed files with 3 additions and 0 deletions

View File

@@ -1773,6 +1773,7 @@ namespace cryptonote
}
res.reserved_offset = reserved_offset;
res.unlock_height = b.miner_tx.unlock_time;
store_difficulty(wdiff, res.difficulty, res.wide_difficulty, res.difficulty_top64);
blobdata block_blob = t_serializable_object_to_blob(b);
blobdata hashing_blob = get_block_hashing_blob(b);