File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -374,7 +374,6 @@ static void payment_succeeded(struct payment *payment,
374374 const struct attempt * attempt )
375375{
376376 struct json_stream * js ;
377- struct node_id dst ;
378377
379378 /* Only succeed once */
380379 if (payment -> cmd ) {
@@ -385,8 +384,7 @@ static void payment_succeeded(struct payment *payment,
385384 /* Pay's schema expects these fields */
386385 if (payment -> pay_compat ) {
387386 json_add_u64 (js , "parts" , payment -> total_num_attempts );
388- node_id_from_pubkey (& dst , & payment -> destination );
389- json_add_node_id (js , "destination" , & dst );
387+ json_add_pubkey (js , "destination" , & payment -> destination );
390388 json_add_sha256 (js , "payment_hash" , & payment -> payment_hash );
391389 json_add_string (js , "status" , "complete" );
392390 json_add_u64 (js , "created_at" , (u64 )payment -> start_time .ts .tv_sec );
You can’t perform that action at this time.
0 commit comments