mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Merge master (1.2.4) into develop (1.3.0-b2)
This commit is contained in:
@@ -524,12 +524,12 @@ DatabaseShardImp::setStored(std::shared_ptr<Ledger const> const& ledger)
|
||||
updateStats(lock);
|
||||
|
||||
// Update peers with new shard index
|
||||
protocol::TMShardInfo message;
|
||||
protocol::TMPeerShardInfo message;
|
||||
PublicKey const& publicKey {app_.nodeIdentity().first};
|
||||
message.set_nodepubkey(publicKey.data(), publicKey.size());
|
||||
message.set_shardindexes(std::to_string(shardIndex));
|
||||
app_.overlay().foreach(send_always(
|
||||
std::make_shared<Message>(message, protocol::mtSHARD_INFO)));
|
||||
std::make_shared<Message>(message, protocol::mtPEER_SHARD_INFO)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user