Skip to content

Commit

Permalink
Add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adzialocha committed Nov 16, 2024
1 parent 8c52612 commit 8b6a7c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rhio/src/node/actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,8 @@ impl NodeActor {
let network_message = NetworkMessage::from_bytes(&bytes)?;
match network_message.payload {
NetworkPayload::BlobAnnouncement(hash, bucket, key, size) => {
// We're interested in a bucket from a _specific_ public key. Filter out everything
// which is not the right bucket name or not the right author.
if is_bucket_matching(&self.subscriptions, &bucket) {
self.blobs
.download(hash, bucket.bucket_name(), key, size)
Expand Down

0 comments on commit 8b6a7c0

Please sign in to comment.