Skip to content

Issue generating invoice from grpc #6112

@cryptosharks131

Description

@cryptosharks131

When calling the Invoice grpc endpoint like below, an error is returned.
stub.Invoice(node_pb2.InvoiceRequest(amount_msat=100000))

Error output:
TypeError: Message must be initialized with a dict: cln.InvoiceRequest

I was able to successfully call other endpoints (Ping/ConnectPeer) and pass arguments to them but was not able to get this one working.

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