beignet icon indicating copy to clipboard operation
beignet copied to clipboard

Beignet creates tx with fee bellow Minimal if amout is small

Open limpbrains opened this issue 1 year ago • 2 comments

When the fees are 4,4,4 and you are trying to create tx with small amount (~700 sats) beignet will reduce tx fee and set it bellow 4. It also do not allow to rase it, because of the "Error: Unable to increase the fee any further. Otherwise, it will exceed half the current sending/output amount." rule.

I think this rule should be ignored, beignet should not create tx with such a small fee, it will not be broadcasted

limpbrains avatar Aug 14 '24 10:08 limpbrains

Agreed, this rule has been causing issues. If we want to keep the warning maybe we can have a flag (and string) in the result of the fee setting method. Then the UI can decide what to do with the warning.

Also see https://github.com/synonymdev/bitkit/issues/1704

pwltr avatar Aug 15 '24 09:08 pwltr

Maybe only use this rule if the amount sent is greater than 10000 sats or something?

limpbrains avatar Sep 03 '24 11:09 limpbrains