Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Elixxir dApps SDK Swift
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile
iOS
Elixxir dApps SDK Swift
Commits
c5099d28
Commit
c5099d28
authored
2 years ago
by
Ahmed Shehata
Browse files
Options
Downloads
Patches
Plain Diff
Fix a scenario where failing to get roundsList is blocking the whole message delivery callback
parent
a65d6542
No related branches found
No related tags found
1 merge request
!15
Fix a scenario where failing to get roundsList is blocking the whole message delivery callback
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Sources/ElixxirDAppsSDK/MessageDeliveryWaiter.swift
+1
-1
1 addition, 1 deletion
Sources/ElixxirDAppsSDK/MessageDeliveryWaiter.swift
with
1 addition
and
1 deletion
Sources/ElixxirDAppsSDK/MessageDeliveryWaiter.swift
+
1
−
1
View file @
c5099d28
...
...
@@ -46,7 +46,7 @@ private final class Callback: NSObject, BindingsMessageDeliveryCallbackProtocol
let
roundResults
=
try
decoder
.
decode
([
Int
]
.
self
,
from
:
roundResultsData
)
return
onCallback
(
.
delivered
(
roundResults
:
roundResults
))
}
catch
{
fatalError
(
"BindingsMessageDeliveryCallback roundResults decoding error:
\(
error
)
"
)
return
onCallback
(
.
delivered
(
roundResults
:
[
Int
]())
)
}
}
if
!
delivered
,
roundResults
==
nil
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment