Skip to content

Unable to broadcast sweep tx #2527

@stridentbean

Description

@stridentbean

Background

Lnd is crashing and restarting (because docker is set to restart). This user thinks he may have force closed a channel at the time this error started. There may have been some dust in the channel at that time.

Your environment

  • lncli version 0.5.1-beta commit=v0.5.1-beta
  • Linux lnd 4.14.70-v7+ Fixing some README typos #2 SMP Wed Sep 19 07:49:26 UTC 2018 armv7l Linux
  • bitcoind: 0.17.0
  • bitcoind and lnd are running in docker containers on a raspberry pi 3b+

Steps to reproduce

Unsure how to reproduce on other devices, but lnd logs on warn level produce the following snippet. We can turn up logging if that is helpful. I can also include the omitted txIn/txOut data if that helps.

2019-01-21T15:25:28Z lnd UNKNOWN[5919] 2019-01-21 15:25:28.941 [ERR] UTXN: unable to broadcast sweep tx: -26: dust (code 64), (*wire.MsgTx)(0x1863780)({
2019-01-21T15:25:28Z lnd UNKNOWN[5919] Version: (int32) 2,
2019-01-21T15:25:28Z lnd UNKNOWN[5919] TxIn: ([]*wire.TxIn) (len=1 cap=1) {
**OMITTED**
2019-01-21T15:25:28Z lnd UNKNOWN[5919] TxOut: ([]*wire.TxOut) (len=1 cap=1) {
**OMITTED**
2019-01-21T15:25:28Z lnd UNKNOWN[5919] LockTime: (uint32) 559041
2019-01-21T15:25:28Z lnd UNKNOWN[5919] })
2019-01-21T15:25:28Z lnd UNKNOWN[5919] 
2019-01-21T15:25:28Z lnd UNKNOWN[5919] 2019-01-21 15:25:28.941 [ERR] UTXN: Failed to re-register for kindergarten sweep transaction at height=559041: -26: dust (code 64)
2019-01-21T15:25:28Z lnd UNKNOWN[5919] 2019-01-21 15:25:28.957 [ERR] UTXN: Failed to regraduate outputs at height=559041: -26: dust (code 64)
2019-01-21T15:25:28Z lnd UNKNOWN[5919] 2019-01-21 15:25:28.958 [ERR] SRVR: unable to start server: -26: dust (code 64)

Expected behaviour

Lnd should boot up normally and not crash.

Actual behaviour

Lnd fails to start and reboots because docker is set to restart automatically.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions