-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unnecessary searches of wrong swapcoin list
Previously the maker_protocol.rs functions handle_sign_receivers_contract_tx() and handle_private_key_handover() would search both the incoming_swapcoins list and the outgoing_swapcoins list, which was unnecessary and wrong. It was leftover from old code when both kinds of swapcoins were in the same list. This change leaves some functions in the IncomingSwapCoin or OutgoingSwapCoin structs unused. Delete them.
- Loading branch information
1 parent
8d93f7f
commit c938596
Showing
3 changed files
with
31 additions
and
47 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
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
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