MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_grpc_decode

Function test_grpc_decode

tests/test_cln_rs.py:557–568  ·  view source on GitHub ↗
(node_factory)

Source from the content-addressed store, hash-verified

555
556
557def test_grpc_decode(node_factory):
558 l1 = node_factory.get_node()
559 inv = l1.grpc.Invoice(clnpb.InvoiceRequest(
560 amount_msat=clnpb.AmountOrAny(any=True),
561 description="desc",
562 label="label",
563 ))
564
565 res = l1.grpc.Decode(clnpb.DecodeRequest(
566 string=inv.bolt11
567 ))
568 print(res)
569
570
571def test_rust_plugin_subscribe_wildcard(node_factory):

Callers

nothing calls this directly

Calls 3

get_nodeMethod · 0.45
InvoiceMethod · 0.45
DecodeMethod · 0.45

Tested by

no test coverage detected