-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
client/trade: Return counterPartyConfirms error.
Because the return data cannot all be trusted if the method has an error, return that error up to the caller rather than just logging and returning with possibly false values. For swaps using contracts it is ok for the swap to be status none, in which case we cannot check the lock time or confirmations on chain yet. Do not log an error in this case.
- Loading branch information
1 parent
2fc9072
commit 7bcb0ec
Showing
1 changed file
with
29 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters