diff options
Diffstat (limited to 'src/nip46.rs')
| -rw-r--r-- | src/nip46.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nip46.rs b/src/nip46.rs index bedc814..c3b1e86 100644 --- a/src/nip46.rs +++ b/src/nip46.rs | |||
| @@ -156,10 +156,10 @@ impl Nip46Client { | |||
| 156 | let db = db.clone(); | 156 | let db = db.clone(); |
| 157 | 157 | ||
| 158 | async move { | 158 | async move { |
| 159 | if let RelayPoolNotification::Event { event, .. } = notification.as_ref() { | 159 | if let RelayPoolNotification::Event { event, .. } = notification { |
| 160 | if event.kind == Kind::Custom(24133) { | 160 | if event.kind == Kind::Custom(24133) { |
| 161 | let _ = | 161 | let _ = |
| 162 | Self::handle_response(&sessions, &pending, &db, event).await; | 162 | Self::handle_response(&sessions, &pending, &db, &event).await; |
| 163 | } | 163 | } |
| 164 | } | 164 | } |
| 165 | Ok(false) | 165 | Ok(false) |