From d009f6dd6182ee448b12ece226909df21bac45a8 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Mon, 15 Apr 2019 12:29:47 +0000 Subject: rpc: fix get_block_hashes.bin from wallet on pruned blockchain We want to get all blocks here, even pruned ones --- src/rpc/daemon_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/rpc/daemon_handler.cpp') diff --git a/src/rpc/daemon_handler.cpp b/src/rpc/daemon_handler.cpp index 540afe6b9..7c8953930 100644 --- a/src/rpc/daemon_handler.cpp +++ b/src/rpc/daemon_handler.cpp @@ -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"; -- cgit v1.2.3