Skip to content

PSBT Funding flow retry, instructions for converting binary PSBT to base64, and accept PSBT from file,  #4400

@kornpow

Description

@kornpow

Background

  1. In the PSBT funding flow, if you input the base64 data wrong, it cancels the channel open. This requires you to go back to your hardware devices and resign the PSBT again.

  2. I have a PSBT created in Electrum and signed with coldcards, I can only load it back into electrum, I do not know how to convert it to base64.

  3. It would also be great to be able to input the PSBT as a file, but that is a little challenging since the PSBT address is only created after the command has run.

Your environment

  • version of lnd
    "version": "0.10.99-beta commit=clock/v1.0.0-85-gacc698a6995b35976950282b29c9685c993a0364",
    "commit_hash": "acc698a6995b35976950282b29c9685c993a0364",
  • which operating system (uname -a on *Nix)
    Ubuntu
  • version of btcd, bitcoind, or other backend
    bitcoind
  • any other relevant environment details

Steps to reproduce

Tell us how to reproduce this issue. Please provide stacktraces and links to code in question.
Generate base64 from electrum psbt file:
base64 testpsbt-signed.psbt -w 0

Expected behaviour

Channel funding flow complete

Actual behaviour

[lncli] verifying PSBT by lnd failed: rpc error: code = Unknown desc = error parsing psbt: Invalid PSBT serialization format

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions