When attempting to perform a loop in for an amount that is greater than the amount of confirmed onchain funds, terminal's loop ui shows the estimated onchain fee as 1 sat/vb, even though lnd returned the error insufficient funds available to construct transaction
Expected behavior
It should show an error informing that there are not enough confirmed funds in the wallet. And potentially, it should give the option to spend unconfirmed funds.
Actual behavior
It shows the estimated onchain transaction fee at 1 sat/vb
To reproduce
Attempt a loop in for an amount greater than the total confirmed onchain funds in lnd.
When attempting to perform a loop in for an amount that is greater than the amount of confirmed onchain funds, terminal's loop ui shows the estimated onchain fee as 1 sat/vb, even though lnd returned the error
insufficient funds available to construct transaction
Expected behavior
It should show an error informing that there are not enough confirmed funds in the wallet. And potentially, it should give the option to spend unconfirmed funds.
Actual behavior
It shows the estimated onchain transaction fee at 1 sat/vb
To reproduce
Attempt a loop in for an amount greater than the total confirmed onchain funds in lnd.
System information
Terminal web, lnd 0.17.4