bsip35: correct specification about settle order

This commit is contained in:
abitmore 2018-02-20 19:03:04 +00:00
parent 9a841385bc
commit 590a296fb6

View file

@ -267,8 +267,9 @@ If the answer is `true`,
After returned, need to check the amount of returned asset at where calling the After returned, need to check the amount of returned asset at where calling the
`match(...)` function, specifically, `clear_expired_orders()` function of `match(...)` function, specifically, `clear_expired_orders()` function of
`database` class. If the returned amount is `0`, break out of the `while` loop, `database` class. If the returned amount is `0`, break out of the `while` loop.
and label that processing of this asset has completed. Also, in the outer loop, If the settle order is still there and the returned amount is `0`,
label that processing of this asset has completed. Also, in the outer loop,
need to check the label, if found it's completed, process next asset. need to check the label, if found it's completed, process next asset.
## When Globally Settling ## When Globally Settling