lnd icon indicating copy to clipboard operation
lnd copied to clipboard

Inserting unconfirmed transaction after restart LND

Open MykelSIlver opened this issue 7 years ago • 1 comments

Background

After restarting my LND daemon two Inserting unconfirmed transactions were executing and the amounts have been subtracted from my walletbalance. No additional channels have been opened, not pending, nor in my active channels

What does this mean? Are those funds lost?

Your environment

  • version of lnd lnd version 0.5.2-beta commit=v0.5.2-beta
  • which operating system (uname -a on *Nix) Linux
  • version of bitcoind Bitcoin Core Daemon version v0.17.1

Steps to reproduce

Stop LND Start LND unlock wallet

After synchronizing i noticed that my my wallet balance was less then expected. Studying the lnd.log revealed two mysterious lines:

2019-03-13 19:04:19.058 [INF] LNWL: Inserting unconfirmed transaction afa441bd94c361fbe1966408f0e196741d89c650680987bea282f5d733f02b57
2019-03-13 19:04:19.069 [INF] LNWL: Inserting unconfirmed transaction eb824ad3fdf95b016ee72bc77ce6d434d3bf4d9e2c1885cc58e27bba03404070

Those transactions are visible with the lncli txns command:

{
   "transactions": [
{
        "tx_hash": "afa441bd94c361fbe1966408f0e196741d89c650680987bea282f5d733f02b57",
           "amount": "-28181657",
           "num_confirmations": 8,
           "block_hash": "0000000000000000002608f69efa63b256425784ccabee9d60512521f1c8a66b",
           "block_height": 566914,
           "time_stamp": "1552503645",
           "total_fees": "7692",
           "dest_addresses": [
               "bc1qtk6pdsudg56tzrh8vuqqy7lywsn6ccqtdhp30v",
               "bc1qdhwavtze509t5az03v25ll6x2z977kqd6fhxzah5s4xaqmr6w88sz3xfx3"
           ]
       },
{
           "tx_hash": "eb824ad3fdf95b016ee72bc77ce6d434d3bf4d9e2c1885cc58e27bba03404070",
           "amount": "-460980",
           "num_confirmations": 8,
           "block_hash": "0000000000000000002608f69efa63b256425784ccabee9d60512521f1c8a66b",
           "block_height": 566914,
           "time_stamp": "1552503645",
           "total_fees": "19570",
           "dest_addresses": [
               "bc1qnfw3aceyvymwh78sj73aprtgfc5xuyyjhl5ddz",
               "bc1qg8a5al4yfvldhm7lfgvmgahydymj6qedx8rnetjwv8tpwx7c40gqkyqq4s"
           ]
       },
}

However I cannot determine what has caused these transactions...?? No channels are opened or listed in pending or active channels (lncli listchannels)

My walletbalance is subtracted with the amounts, quite alot.

A restart of the daemon again do not list the [INF] LNWL: Inserting unconfirmed transaction... lines in the lnd.log anymore. Howver the funds are subtracted from my wallet balance. The only place visible of those transactions is like earlier mentioned after issuing the lncli txns command

Is there any explanation? Solution? Thanks in advance

MykelSIlver avatar Mar 13 '19 20:03 MykelSIlver

I close this issue. I had restored the wallet to a new node. However in the lnd.conf of the new node I was forgotten to remove the auto pilot! This autopilot opened two channels in this node! Solved

MykelSIlver avatar Mar 13 '19 21:03 MykelSIlver