mirror of
https://github.com/monero-project/monero.git
synced 2025-08-16 11:20:21 -04:00
rpc: fix get_block_hashes.bin from wallet on pruned blockchain
We want to get all blocks here, even pruned ones
This commit is contained in:
parent
bb0ef5b1f2
commit
d009f6dd61
4 changed files with 14 additions and 14 deletions
|
@ -141,7 +141,7 @@ namespace rpc
|
|||
|
||||
auto& chain = m_core.get_blockchain_storage();
|
||||
|
||||
if (!chain.find_blockchain_supplement(req.known_hashes, res.hashes, res.start_height, res.current_height))
|
||||
if (!chain.find_blockchain_supplement(req.known_hashes, res.hashes, res.start_height, res.current_height, false))
|
||||
{
|
||||
res.status = Message::STATUS_FAILED;
|
||||
res.error_details = "Blockchain::find_blockchain_supplement() returned false";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue