Skip to content

[bug]: The fee in the asset channel was not successfully collected. #1598

Closed
@shuishihang

Description

@shuishihang

I created three nodes (A, B, C). Node A and B established an asset channel, while node B and C have a BTC channel. I set the asset price at 1 asset = 100 sats. When I created a 10,000 sats invoice using node C, node A paid it with assets but only transferred 354 sats + 100 assets.

However, when I set the price to 1 asset = 1 sat, an extra 1 asset was charged as a fee. At the 1 asset = 100 sats rate with a routing fee of 10 sats, after dozens of transactions, no asset-based fee was deducted. Shouldn’t the system charge 1 asset as a fee every 10 payments (since 10 × 10 sats = 100 sats = 1 asset)? Is there a way to collect fees in sats instead of assets in the asset channel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions