Fix build warnings

Signed-off-by: Terry Yiu <git@tyiu.xyz>
Reviewed-by: William Casarin <jb55@jb55.com>
This commit is contained in:
2023-07-03 11:25:41 -04:00
committed by William Casarin
parent 4712c6b288
commit 57159f7df9
2 changed files with 2 additions and 2 deletions

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