-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
beginnerIssues suitable for new developersIssues suitable for new developersbitcoindBitcoin Core backendBitcoin Core backendbugUnintended code behaviourUnintended code behaviourwalletThe wallet (lnwallet) which LND usesThe wallet (lnwallet) which LND uses
Description
Background
Trying to open channel using all funds available.
Your environment
- lnd version 0.4.1-beta
- Linux 2.6.32-042stab127.2 Fix name typo in README #1 SMP
- Bitcoin Core Daemon version v0.16.99.0-2fc9437
- go version go1.10 linux/amd64
Steps to reproduce
Tried to send all funds, daemon tell me that not enough funds, so I calculate difference and use "proper" amount. Well, that not work.
rav3n@node1:~$ lncli walletbalance
{
"total_balance": "998955",
"confirmed_balance": "998955",
"unconfirmed_balance": "0"
}
rav3n@node1:~$ lncli openchannel xxxx 998955
[lncli] rpc error: code = Unknown desc = not enough witness outputs to create funding transaction, need 0.00999176 BTC only have 0.00998955 BTC available
rav3n@node1:~$ lncli openchannel xxxx 998734
[lncli] rpc error: code = Unknown desc = -26: mempool min fee not met, 221 < 1081 (code 66)
rav3n@node1:~$ lncli openchannel xxxx 998955
[lncli] rpc error: code = Unknown desc = not enough witness outputs to create funding transaction, need 0.00998955 BTC only have 0 BTC available
rav3n@node1:~$ lncli walletbalance
{
"total_balance": "0",
"confirmed_balance": "0",
"unconfirmed_balance": "0"
}
Expected behaviour
Open channel
Actual behaviour
Channel not open, funds gone?
Metadata
Metadata
Assignees
Labels
beginnerIssues suitable for new developersIssues suitable for new developersbitcoindBitcoin Core backendBitcoin Core backendbugUnintended code behaviourUnintended code behaviourwalletThe wallet (lnwallet) which LND usesThe wallet (lnwallet) which LND uses