When attempting to send some funds my UI begins hanging and preventing me from making most actions. At this point, the only way to resolve is by killing and restarting the app. After checking debug logs it appears that Bitkit has got stuck in a loop and that is probably the cause for blocking my actions. The error that is keeps logging is LOG [Error: An amount of 1822 is too low to spend with an expected fee of 2988 at 18 satsPerVByte.].
Note: A low spending balance is entirely possible after sending most (80% minus fees) of it to spending balance and not yet having confirmation of the spending balance.
Reproduce
Try to send funds whilst having a savings balance lower than the required onchain fee.
Screenshots / Recording
First 28 seconds demonstrates the app is responsive. At 30th second I tap "Paste Invoice" and that's when the hanging and looping error log begins.
Describe the bug
When attempting to send some funds my UI begins hanging and preventing me from making most actions. At this point, the only way to resolve is by killing and restarting the app. After checking debug logs it appears that Bitkit has got stuck in a loop and that is probably the cause for blocking my actions. The error that is keeps logging is
LOG [Error: An amount of 1822 is too low to spend with an expected fee of 2988 at 18 satsPerVByte.]
.Note: A low spending balance is entirely possible after sending most (80% minus fees) of it to spending balance and not yet having confirmation of the spending balance.
Reproduce
Try to send funds whilst having a savings balance lower than the required onchain fee.
Screenshots / Recording
First 28 seconds demonstrates the app is responsive. At 30th second I tap "Paste Invoice" and that's when the hanging and looping error log begins.
https://github.com/synonymdev/bitkit/assets/74595920/ae6377f2-4e6e-4eff-8897-cf7b2d7631e1
Operating system
Android 13 TKQ1.220829.002
Bitkit version
f231fea3e5128f9a577ecde3fec53c44c61bccff
Log output