Skip to content

Onchain balance for LND implementations with incorrect format #80

Description

@eyonys

GetBalance functionality for LND implementation returns incorrect OnChainBalance. LND REST API Reference in /v1/balance/blockchain gets balance in sats, but in src/BTCPayServer.Lightning.LND/LndClient.cs Ln 418 amount returned from SwaggerClient is not converted properly to LightMoney, causing amount in sats is passed directly as amount in BTC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions