From 0c941d5757a4173712185d43cce9753151eeed91 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 23 Jul 2020 20:45:34 +0200 Subject: [PATCH] pay: Remove duplicate message field jsonrpc_stream_fail already adds a message field. --- plugins/libplugin-pay.c | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/libplugin-pay.c b/plugins/libplugin-pay.c index 5368a5809..27669b125 100644 --- a/plugins/libplugin-pay.c +++ b/plugins/libplugin-pay.c @@ -1356,7 +1356,6 @@ static void payment_finished(struct payment *p) json_add_hex_talarr(ret, "raw_message", result.failure->raw_message); json_add_num(ret, "created_at", p->start_time.ts.tv_sec); - json_add_string(ret, "message", result.failure->message); json_add_node_id(ret, "destination", p->destination); json_add_sha256(ret, "payment_hash", p->payment_hash);