Skip to content

Duplicate runs of the "rate" script result in duplicate entries #23

@theomega

Description

@theomega

If you (accidentially) run the "rates" script twice, you end up with two times the "magic number" subtracted/added. The transact_rate_balance method should check if there is already an entry for today and if yes update that one instead of creating a new one.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions