-
Notifications
You must be signed in to change notification settings - Fork 969
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
CAP-0024 #2269
CAP-0024 #2269
Conversation
destination, xlm, amount, xlm, 1, {}), | ||
ex_PATH_PAYMENT_STRICT_SEND_MALFORMED); | ||
// clang-format off | ||
market.requireBalances( |
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.
(reminder for later) in general, we should leverage the invariant from applyCheck
that only specific changes can be made on failure
@@ -75,6 +75,56 @@ assetPathToString(const std::deque<Asset>& assets) | |||
} | |||
return r; | |||
}; | |||
|
|||
void | |||
checkClaimedOffers(std::vector<ClaimOfferAtom> const& actual, |
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.
nice!
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.
looks good! I kicked off some tests off that branch, we should squash some commits to tidy things up and we'll merge it.
@MonsieurNicolas squashed and rebased. |
r+ c7283b9 |
CAP-0024 Reviewed-by: MonsieurNicolas
This PR implements CAP-0024, which introduces the new operation
PathPaymentStrictSend
.Checklist
clang-format
v5.0.0 (viamake format
or the Visual Studio extension)