Skip to content
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

[Docs] Improve escrow creation example to have ExecuteAfter date #820

Merged
merged 1 commit into from
Dec 20, 2017

Conversation

mDuo13
Copy link
Collaborator

@mDuo13 mDuo13 commented Dec 18, 2017

The existing example of an escrowCreation transaction in the docs includes allowCancelAfter but not an allowExecuteAfter field (and also no condition field)—this is the exact arrangement that can cause "false escrows" like the ones Ripple mistakenly made with the first set of the 55B escrows—they can be finished by anyone at any time before the cancellation.

This PR edits the example test fixture to add an allowExecuteAfter field. This provides a better example, but should be functionally identical as a test fixture because the stated allowCancelAfter date is still in the past.

@mDuo13 mDuo13 requested a review from intelliot December 18, 2017 18:29
Copy link
Collaborator

@intelliot intelliot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks for improving this!

@mDuo13 mDuo13 merged commit 5979ff6 into XRPLF:develop Dec 20, 2017
@mDuo13 mDuo13 deleted the fix-escrow-example branch December 20, 2017 20:15
intelliot added a commit that referenced this pull request Jan 17, 2018
- Request fixture was changed by #820
- Add an ExecuteAfter (aka FinishAfter) timestamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants