-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ICX hardfork fixes #599
Merged
Merged
ICX hardfork fixes #599
Changes from 12 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
7216ae4
Add check if HTLC existed to skip refund of burnt takerFee
Mixa84 5629f50
Fix closing DFI offer not to try to refund amount that is not locked.…
Mixa84 9fc33ad
Adding EunosPaya height check
Mixa84 a9c318a
Recalculate takerFee from original takerFee instead from dex
Mixa84 fa2a128
Fix for ICX txes without change
Mixa84 6c2ac7d
Adding EunosPAya height check
Mixa84 c2ee7ce
Change fork height check to simplify code
Mixa84 619a671
Fix check on closeoffer
Mixa84 f8de24a
Fix ExistedHTLC
Mixa84 bdd025c
Fix listhtlcs rpc params
Mixa84 fe47cec
Fix passing invalid orderTx in icx_listorders
Mixa84 8787de0
Fix error message to be consistent with dfc htlc.
Mixa84 343f65a
Fix test
Mixa84 6500214
Fix limit in list RPCs
Mixa84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this value is negative then still have problem
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will go into else before EunosPaya, and after it will enter the if and calculate the takerFee as ratio of the current one so
offer->takerFee - takerFee
will never be negative.We must preserve old functioning before the fork so that we do not create a hardfork before EunosPaya or when syncing from scratch.