Skip to content

Conversation

@Tapanito
Copy link
Collaborator

When withdrawing from a vault, the user can specify a destination account that will receive the assets.

The implementation, does not create RippleState or MPToken objects if they do not exist, failing the transaction.

This change reflects this logic in the specification.

@Tapanito Tapanito requested a review from mvadari November 17, 2025 13:19
@Tapanito Tapanito requested a review from ximinez November 18, 2025 15:55
Comment on lines +616 to +618
- The `Destination` account is specified:
- The account does not have permission to receive the asset.
- The account does not have a `RippleState` or `MPToken` object for the asset.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would it be worth adding a case for "The account does not exist", or is it sufficient that it be implied by the other two checks. i.e. If the account doesn't exist, it certainly won't have a line or token.

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.

3 participants