Skip to content

LND crashes on startup: -22: TX rejected: total value of all transaction inputs for transaction ... is 16777216 which is less than the amount spent of 17776996 #1267

@Xethron

Description

@Xethron

Background

Running LND on Testnet on my Laptop. After it went to sleep and woke up, it tried to sync up and quit giving the following error:

2018-05-21 17:18:29.682 [INF] LNWL: Inserting unconfirmed transaction d7855d82a1a438668431127441c3bd4ab886dbd0eb240b04527b45c067d539a6
2018-05-21 17:18:29.689 [ERR] CNCT: ChannelArbitrator(195244dcc0a5dcfc2638e8ae791d1a4d90a408effeafe5c5222bdd4fe0ea686b:0): unable to broadcast close tx: -22: TX rejected: total value of all transaction inputs for transaction d7855d82a1a438668431127441c3bd4ab886dbd0eb240b04527b45c067d539a6 is 16777216 which is less than the amount spent of 17776996
2018-05-21 17:18:29.689 [ERR] CNCT: unable to advance state: -22: TX rejected: total value of all transaction inputs for transaction d7855d82a1a438668431127441c3bd4ab886dbd0eb240b04527b45c067d539a6 is 16777216 which is less than the amount spent of 17776996
2018-05-21 17:18:29.689 [ERR] SRVR: unable to start server: -22: TX rejected: total value of all transaction inputs for transaction d7855d82a1a438668431127441c3bd4ab886dbd0eb240b04527b45c067d539a6 is 16777216 which is less than the amount spent of 17776996

-22: TX rejected: total value of all transaction inputs for transaction d7855d82a1a438668431127441c3bd4ab886dbd0eb240b04527b45c067d539a6 is 16777216 which is less than the amount spent of 17776996

Everything is running in a docker. I committed one of the containers to an image. Running: docker start alice tries to sync up with btcd, and then throws the above error.
My BTCD is all synced up with Testnet.

Your environment

  • version of lnd 0.4.1 (Initially started docker from commit 097fd50)
  • which operating system (uname -a on *Nix): MacOSX but running in Docker
  • version of btcd, bitcoind, or other backend: BTCD: Version 0.12.0-beta
  • any other relevant environment details

Steps to reproduce

Stack trace above

Expected behaviour

Start up normally

Actual behaviour

Crashes with above error

Metadata

Metadata

Assignees

Labels

bugUnintended code behaviourcommitmentsCommitment transactions containing the state of the channel

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions