Fix build warnings

Signed-off-by: Terry Yiu <git@tyiu.xyz>
Reviewed-by: William Casarin <jb55@jb55.com>
This commit is contained in:
tyiu authored and William Casarin committed 2023-07-03 08:50:17 -07:00
1 parent 4712c6b288
commit 57159f7df9
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -154,7 +154,7 @@ class HomeModel {
print("nwc: \(resp.req_id) not found in the postbox, nothing to remove [\(relay)]")
}
guard let err = resp.response.error else {
guard resp.response.error != nil else {
print("nwc success: \(resp.response.result.debugDescription) [\(relay)]")
nwc_success(state: self.damus_state, resp: resp)
return