Closed ghost closed 3 years ago
This PR changes the logic around /deposit calls. Previously, we were creating new commitment transaction every 5 seconds. With this PR we'll only create new state updates when the channel balance of ETH changes.
/deposit
Related issue: https://github.com/ExchangeUnion/xud/issues/2019
@sangaman comments added - going to merge this. If the comments are not clear, I'll add more in a follow-up PR.
This PR changes the logic around
/deposit
calls. Previously, we were creating new commitment transaction every 5 seconds. With this PR we'll only create new state updates when the channel balance of ETH changes.Related issue: https://github.com/ExchangeUnion/xud/issues/2019