mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
pay/sendpay: Use spec names for rhash and r.
This commit is contained in:
@@ -53,7 +53,7 @@ json_pay_success(struct command *cmd,
|
||||
|
||||
response = new_json_result(cmd);
|
||||
json_object_start(response, NULL);
|
||||
json_add_hex(response, "preimage",
|
||||
json_add_hex(response, "payment_preimage",
|
||||
payment_preimage, sizeof(*payment_preimage));
|
||||
json_add_num(response, "getroute_tries", getroute_tries);
|
||||
json_add_num(response, "sendpay_tries", sendpay_tries);
|
||||
|
||||
Reference in New Issue
Block a user