We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When calling the Invoice grpc endpoint like below, an error is returned. stub.Invoice(node_pb2.InvoiceRequest(amount_msat=100000))
stub.Invoice(node_pb2.InvoiceRequest(amount_msat=100000))
Error output: TypeError: Message must be initialized with a dict: cln.InvoiceRequest
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.
The text was updated successfully, but these errors were encountered:
I was able to get this working by using the following format: stub.Invoice(node_pb2.InvoiceRequest(amount_msat={'amount':{'msat':100000}}))
stub.Invoice(node_pb2.InvoiceRequest(amount_msat={'amount':{'msat':100000}}))
Sorry, something went wrong.
cln-grpc
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: