listtransactions: remove annotations, which were only in EXPERIMENTAL_FEATURES.

I don't know if anyone was using them, they seem half-hearted.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2023-05-22 10:21:44 +09:30
parent 4deb552fe9
commit b8aa3a579e
11 changed files with 6 additions and 304 deletions

View File

@@ -489,8 +489,6 @@ def listtransactions_transactions_inputs2py(m):
"txid": hexlify(m.txid), # PrimitiveField in generate_composite
"index": m.index, # PrimitiveField in generate_composite
"sequence": m.sequence, # PrimitiveField in generate_composite
"type": str(m.item_type), # EnumField in generate_composite
"channel": m.channel, # PrimitiveField in generate_composite
})
@@ -499,8 +497,6 @@ def listtransactions_transactions_outputs2py(m):
"index": m.index, # PrimitiveField in generate_composite
"amount_msat": amount2msat(m.amount_msat), # PrimitiveField in generate_composite
"script_pub_key": hexlify(m.script_pub_key), # PrimitiveField in generate_composite
"type": str(m.item_type), # EnumField in generate_composite
"channel": m.channel, # PrimitiveField in generate_composite
})