Skip to content

Commit 648eb5c

Browse files
committed
pool: fix InnerRelay::set_status notification args
Set the `external` arg of `InnerRelay::send_notification` to false. The `RelayPoolNotification::RelayStatus` no longer exists, so no make sense to try to send that notification. Signed-off-by: Yuki Kishimoto <[email protected]>
1 parent 0a83da9 commit 648eb5c

File tree

1 file changed

+1
-1
lines changed
  • crates/nostr-relay-pool/src/relay

1 file changed

+1
-1
lines changed

crates/nostr-relay-pool/src/relay/inner.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl InnerRelay {
217217
}
218218

219219
// Send notification
220-
self.send_notification(RelayNotification::RelayStatus { status }, true);
220+
self.send_notification(RelayNotification::RelayStatus { status }, false);
221221
}
222222

223223
/// Perform health checks

0 commit comments

Comments
 (0)