Last active
November 20, 2017 10:36
-
-
Save deque-blog/afd507b943abe9dfab8b47087c76e8d9 to your computer and use it in GitHub Desktop.
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
std::vector<Payment> generatePayments(Trade const& trade) | |
{ | |
std::vector<Payment> payments; | |
for (Flow const& flow: trade.flows()) | |
payments.push_back(pay(flow, trade.settlementInstructions()); | |
return payments; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment