Blockstream / Blockstream/greenlight
Balance is not updated after receive
Open
- Dominant language
- Rust
- Stars
- 144
- Forks
- 48
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 2
Description
In order to calculate the balance we are summing the spendable amount of all opened channels that return from the list_peers gRPC endpoint.
When we get the a paid invoice via the stream_incoming API we immediately call list_peers and the channels spendable amount is not changed.
This requires us to poll for that and usually in the second attempt the balance is updated.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.