mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 17:27:00 +00:00
Update src/libxrpl/nodestore/DatabaseNodeImp.cpp
Co-authored-by: Ed Hennis <ed@ripple.com>
This commit is contained in:
@@ -75,8 +75,7 @@ DatabaseNodeImp::fetchBatch(std::vector<uint256> const& hashes)
|
||||
batch.push_back(&hash);
|
||||
}
|
||||
|
||||
std::vector<std::shared_ptr<NodeObject>> results{hashes.size()};
|
||||
results = backend_->fetchBatch(batch).first;
|
||||
std::vector<std::shared_ptr<NodeObject>> const results = backend_->fetchBatch(batch).first;
|
||||
for (size_t i = 0; i < results.size(); ++i)
|
||||
{
|
||||
if (!results[i])
|
||||
|
||||
Reference in New Issue
Block a user