mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Tiny cleanups.
This commit is contained in:
@@ -534,7 +534,6 @@ void LedgerConsensus::mapComplete(const uint256& hash, SHAMap::ref map, bool acq
|
||||
if (mAcquired.find(hash) != mAcquired.end())
|
||||
{
|
||||
mAcquiring.erase(hash);
|
||||
cLog(lsINFO) << "Already had the TXS";
|
||||
return; // we already have this map
|
||||
}
|
||||
|
||||
|
||||
@@ -589,6 +589,7 @@ void server<endpoint>::connection<connection_type>::handle_read_request(
|
||||
reply.append("\0", 1);
|
||||
|
||||
m_version = -1;
|
||||
assert(m_response.get_status_code() != http::status_code::SWITCHING_PROTOCOLS);
|
||||
shared_const_buffer buffer(reply);
|
||||
m_connection.get_socket().async_write(
|
||||
shared_const_buffer(reply),
|
||||
|
||||
Reference in New Issue
Block a user