Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

pm: low ticket facevalue safeguard #1908

Merged
merged 1 commit into from Jun 21, 2021
Merged

pm: low ticket facevalue safeguard #1908

merged 1 commit into from Jun 21, 2021

Conversation

kyriediculous
Copy link
Contributor

@kyriediculous kyriediculous commented Jun 7, 2021

What does this pull request do? Explain your changes. (required)
Adds a safeguard to protect against low ticket faceValues whereby the ticket faceValue has to be greater than EV x N

How did you test each of these updates (required)

  • Added unit test

Does this pull request close any open issues?
Fixes https://github.com/livepeer/internal-project-tracking/issues/142

Checklist:

pm/recipient.go Outdated Show resolved Hide resolved
pm/recipient.go Outdated Show resolved Hide resolved
pm/sender.go Outdated Show resolved Hide resolved
pm/ticket.go Outdated Show resolved Hide resolved
Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after squashing

@kyriediculous kyriediculous merged commit c218058 into master Jun 21, 2021
@kyriediculous kyriediculous deleted the nv/low-tickets branch June 21, 2021 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants