Blockstream / Blockstream/greenlight

Balance is not updated after receive

Open
#243 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.