From d14460ef3d9cd9d33df1a5f79ddef435eb1e9f16 Mon Sep 17 00:00:00 2001 From: ZmnSCPxj jxPCSnmZ Date: Tue, 30 Jun 2020 14:02:30 +0800 Subject: [PATCH] wallet/walletrpc.c: Show input annotations for inputs. Changelog-None --- wallet/walletrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/walletrpc.c b/wallet/walletrpc.c index ff40dd9c7..ae41a734e 100644 --- a/wallet/walletrpc.c +++ b/wallet/walletrpc.c @@ -1105,7 +1105,7 @@ static void json_transaction_details(struct json_stream *response, json_add_u32(response, "index", in->index); json_add_u32(response, "sequence", in->sequence); #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); if (txtype != NULL) json_add_string(response, "type", txtype);