diff --git a/rai/core/core.cpp b/rai/core/core.cpp index 57d875d5..f225abac 100644 --- a/rai/core/core.cpp +++ b/rai/core/core.cpp @@ -3469,6 +3469,8 @@ void rai::bulk_push_client::push () } return result; }); + rai::frontier frontier; + connection->connection->client->store.latest_get (current->first, frontier); filler.generate (frontier.hash); push_block (); } diff --git a/rai/core/core.hpp b/rai/core/core.hpp index 1098c0d7..e7bae06e 100644 --- a/rai/core/core.hpp +++ b/rai/core/core.hpp @@ -436,7 +436,7 @@ namespace rai { void completed_pushes (); std::unordered_map pulls; std::unordered_map pushes; - std::array receive_buffer; + std::array receive_buffer; std::shared_ptr connection; rai::account_iterator current; rai::account_iterator end; @@ -451,7 +451,7 @@ namespace rai { void received_type (); void received_block (boost::system::error_code const &, size_t); void process_end (); - std::array receive_buffer; + std::array receive_buffer; std::shared_ptr connection; std::unordered_map ::iterator current; std::unordered_map ::iterator end;