mirror of
https://github.com/monero-project/monero.git
synced 2026-01-02 07:50:16 -08: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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user