diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2019-10-08 15:55:03 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2019-10-08 15:55:03 -0500 |
| commit | bf525793c724f62d4716aaca59345ba2e13a2c3c (patch) | |
| tree | ad7ea60c6faf8ca103a686529fc1c716e272a9a5 /src/rpc/daemon_handler.cpp | |
| parent | 0e4ab6091c6e65098775e7fd3864631c5568f8f4 (diff) | |
| parent | 8330e772f1ed680a54833d25c4d17d09a99ab8d6 (diff) | |
| download | monzero-core-bf525793c724f62d4716aaca59345ba2e13a2c3c.tar.gz monzero-core-bf525793c724f62d4716aaca59345ba2e13a2c3c.tar.xz monzero-core-bf525793c724f62d4716aaca59345ba2e13a2c3c.zip | |
Merge pull request #5915
8330e77 monerod can now sync from pruned blocks (moneromooo-monero)
Diffstat (limited to 'src/rpc/daemon_handler.cpp')
| -rw-r--r-- | src/rpc/daemon_handler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpc/daemon_handler.cpp b/src/rpc/daemon_handler.cpp index 890380dc8..d7e081af3 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, false)) + if (!chain.find_blockchain_supplement(req.known_hashes, res.hashes, NULL, res.start_height, res.current_height, false)) { res.status = Message::STATUS_FAILED; res.error_details = "Blockchain::find_blockchain_supplement() returned false"; @@ -291,7 +291,7 @@ namespace rpc cryptonote_connection_context fake_context = AUTO_VAL_INIT(fake_context); tx_verification_context tvc = AUTO_VAL_INIT(tvc); - if(!m_core.handle_incoming_tx(tx_blob, tvc, false, false, !relay) || tvc.m_verifivation_failed) + if(!m_core.handle_incoming_tx({tx_blob, crypto::null_hash}, tvc, false, false, !relay) || tvc.m_verifivation_failed) { if (tvc.m_verifivation_failed) { |
