We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c4c309 commit 145fdf2Copy full SHA for 145fdf2
plugins/xpay/xpay.c
@@ -387,7 +387,7 @@ static void payment_succeeded(struct payment *payment,
387
json_add_pubkey(js, "destination", &payment->destination);
388
json_add_sha256(js, "payment_hash", &payment->payment_hash);
389
json_add_string(js, "status", "complete");
390
- json_add_u64(js, "created_at", (u64)payment->start_time.ts.tv_sec);
+ json_add_timeabs(js, "created_at", payment->start_time);
391
} else {
392
json_add_u64(js, "failed_parts", payment->num_failures);
393
json_add_u64(js, "successful_parts",
0 commit comments