Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GLTransaction simplify method #214

Merged
merged 3 commits into from
May 20, 2021
Merged

GLTransaction simplify method #214

merged 3 commits into from
May 20, 2021

Conversation

jrfinc
Copy link
Contributor

@jrfinc jrfinc commented May 19, 2021

Adds a new method in GLTransaction to simplify a transaction, by removing redundant entries.

Redundant entries are those which have amount 0, or have an opposite entry in the same GLTransaction with the same account, same layer, and same amount.

@jrfinc jrfinc requested a review from ar May 19, 2021 23:17
@ar ar merged commit 44bc7d1 into jpos:master May 20, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants