Changing ratePerSecond
resets Debt
#60
Closed
smol-ninja
started this conversation in
Ideas
Replies: 2 comments
-
As discussed over yesterday's call with @andreivladbrg, (1) isn't a good solution as it is very realistic to require changing An example,
For now, (2) is the only potential solution but I suggest we brainstorm more on this. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this as a duplicate of #64 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Problem
If
sender
changes theratePerSecond
,streamDebtOf
returns 0. That means by changing therps
of the stream, the stream loses track of how much thesender
owes to the recipient. This should not be allowed.Potential solutions
rps
when debt > 0.Beta Was this translation helpful? Give feedback.
All reactions