Skip to content

pkg/swap: allow passing custom preimage to GetInvoice #345

@rolznz

Description

@rolznz

For GetInvoice it generates its own preimage which cannot be accessed from the outside. It would be great if a custom preimage can be passed in (or the submarineSwap function it calls to be made public so we can call it with a custom preimage)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions