diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-22 20:46:51 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-10-23 00:32:49 +0100 |
| commit | 1e163666f3c5265d9d091eece0403de6bc5eca96 (patch) | |
| tree | 8a7abe757ab6c2116d524e08d4a6a7f71d64e4f4 /tests/unit_tests/ban.cpp | |
| parent | f3c374fe08c2f309b3349a2341f4ebf5b8c10609 (diff) | |
| download | monzero-core-1e163666f3c5265d9d091eece0403de6bc5eca96.tar.gz monzero-core-1e163666f3c5265d9d091eece0403de6bc5eca96.tar.xz monzero-core-1e163666f3c5265d9d091eece0403de6bc5eca96.zip | |
core: notify the txpool when transactions are relayed
Diffstat (limited to 'tests/unit_tests/ban.cpp')
| -rw-r--r-- | tests/unit_tests/ban.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit_tests/ban.cpp b/tests/unit_tests/ban.cpp index 85b0298b7..e82661545 100644 --- a/tests/unit_tests/ban.cpp +++ b/tests/unit_tests/ban.cpp @@ -63,6 +63,7 @@ public: bool cleanup_handle_incoming_blocks(bool force_sync = false) { return true; } uint64_t get_target_blockchain_height() const { return 1; } size_t get_block_sync_size() const { return BLOCKS_SYNCHRONIZING_DEFAULT_COUNT; } + virtual void on_transaction_relayed(const cryptonote::blobdata& tx) {} }; typedef nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<test_core>> Server; |
