Skip to content

Commit

Permalink
pay: Remove duplicate message field
Browse files Browse the repository at this point in the history
jsonrpc_stream_fail already adds a message field.
  • Loading branch information
cdecker committed Jul 24, 2020
1 parent 67e846f commit 15d1a19
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion plugins/libplugin-pay.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 15d1a19

Please sign in to comment.