diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-23 13:05:48 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-03-05 11:58:18 +0000 |
| commit | 88c85c18e0173f479470842fbe49626cdc86e7d1 (patch) | |
| tree | b64a4166d561f19b7055df9c66602c2ba67e44a2 /tests/core_proxy/core_proxy.cpp | |
| parent | 9feda0eeba34ca6c23e6e7fd819d00932b3ce5aa (diff) | |
| download | monzero-core-88c85c18e0173f479470842fbe49626cdc86e7d1.tar.gz monzero-core-88c85c18e0173f479470842fbe49626cdc86e7d1.tar.xz monzero-core-88c85c18e0173f479470842fbe49626cdc86e7d1.zip | |
cryptonote: avoid double parsing blocks when syncing
Diffstat (limited to 'tests/core_proxy/core_proxy.cpp')
| -rw-r--r-- | tests/core_proxy/core_proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_proxy/core_proxy.cpp b/tests/core_proxy/core_proxy.cpp index 17e552714..583111517 100644 --- a/tests/core_proxy/core_proxy.cpp +++ b/tests/core_proxy/core_proxy.cpp @@ -197,7 +197,7 @@ bool tests::proxy_core::handle_incoming_txs(const std::vector<blobdata>& tx_blob return true; } -bool tests::proxy_core::handle_incoming_block(const cryptonote::blobdata& block_blob, cryptonote::block_verification_context& bvc, bool update_miner_blocktemplate) { +bool tests::proxy_core::handle_incoming_block(const cryptonote::blobdata& block_blob, const cryptonote::block *block_, cryptonote::block_verification_context& bvc, bool update_miner_blocktemplate) { block b = AUTO_VAL_INIT(b); if(!parse_and_validate_block_from_blob(block_blob, b)) { |
