mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Cleanup code identified in code review
This commit is contained in:
@@ -104,7 +104,7 @@ HashRouter::shouldRelay (uint256 const& key)
|
||||
if (!s.shouldRelay(suppressionMap_.clock().now(), holdTime_))
|
||||
return boost::none;
|
||||
|
||||
return std::move(s.peekPeers());
|
||||
return s.releasePeerSet();
|
||||
}
|
||||
|
||||
} // ripple
|
||||
|
||||
Reference in New Issue
Block a user