bitkit icon indicating copy to clipboard operation
bitkit copied to clipboard

[Bug]: Incoming Transfer amount does not account for fee

Open catch-21 opened this issue 9 months ago • 0 comments

Describe the bug

Raised off the back of https://github.com/synonymdev/bitkit/pull/1848 When force-closing a LN channel it takes 6 blocks for LSP to broadcast the final tx. Meanwhile, Bitkit shows "Incoming Transfer" amount without accounting for fee. Could there be some way we can display a precise value?

Reproduce

  1. Force close a LN channel (client or lsp initiated)
  2. Observe transfer in process with an amount
  3. Wait for actual tx with the returned funds
  4. Received amount is the expected minus fees

Screenshots / Recording

141_436 - fee = 140_994

image

image

Operating system

Android 13 TKQ1.221114.001

Bitkit version

658b9f2bd22d2ca63893a89dc56f47a054546d79

Log output

No response

catch-21 avatar May 22 '24 12:05 catch-21