mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 07:04:22 +01:00
wallet/walletrpc.c: Show input annotations for inputs.
Changelog-None
This commit is contained in:
committed by
Christian Decker
parent
6b3bcd49d2
commit
d14460ef3d
@@ -1105,7 +1105,7 @@ static void json_transaction_details(struct json_stream *response,
|
|||||||
json_add_u32(response, "index", in->index);
|
json_add_u32(response, "index", in->index);
|
||||||
json_add_u32(response, "sequence", in->sequence);
|
json_add_u32(response, "sequence", in->sequence);
|
||||||
#if EXPERIMENTAL_FEATURES
|
#if EXPERIMENTAL_FEATURES
|
||||||
struct tx_annotation *ann = &tx->output_annotations[i];
|
struct tx_annotation *ann = &tx->input_annotations[i];
|
||||||
const char *txtype = txtype_to_string(ann->type);
|
const char *txtype = txtype_to_string(ann->type);
|
||||||
if (txtype != NULL)
|
if (txtype != NULL)
|
||||||
json_add_string(response, "type", txtype);
|
json_add_string(response, "type", txtype);
|
||||||
|
|||||||
Reference in New Issue
Block a user