lightningd: remove tx and txid fields from close response.
Changelog-Removed: JSON-RPC: `close` `tx` and `txid` field (use `txs` and `txids`), deprecated v24.11. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -5908,26 +5908,6 @@
|
||||
],
|
||||
"properties": {
|
||||
"type": {},
|
||||
"tx": {
|
||||
"type": "hex",
|
||||
"deprecated": [
|
||||
"v24.11",
|
||||
"v25.12"
|
||||
],
|
||||
"description": [
|
||||
"The raw bitcoin transaction used to close the channel (if it was open)."
|
||||
]
|
||||
},
|
||||
"txid": {
|
||||
"type": "txid",
|
||||
"deprecated": [
|
||||
"v24.11",
|
||||
"v25.12"
|
||||
],
|
||||
"description": [
|
||||
"The transaction id of the *tx* field."
|
||||
]
|
||||
},
|
||||
"txs": {
|
||||
"added": "v24.11",
|
||||
"type": "array",
|
||||
|
||||
2164
contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py
generated
2164
contrib/pyln-grpc-proto/pyln/grpc/node_pb2.py
generated
File diff suppressed because one or more lines are too long
@@ -335,8 +335,6 @@ def close2py(m):
|
||||
"txids": [hexlify(m.txids) for i in hexlify(m.txids)], # ArrayField[primitive] in generate_composite
|
||||
"txs": [hexlify(m.txs) for i in hexlify(m.txs)], # ArrayField[primitive] in generate_composite
|
||||
"type": str(m.item_type), # EnumField in generate_composite
|
||||
"tx": hexlify(m.tx), # PrimitiveField in generate_composite
|
||||
"txid": hexlify(m.txid), # PrimitiveField in generate_composite
|
||||
})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user