Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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