pay/sendpay: Use spec names for rhash and r.

This commit is contained in:
ZmnSCPxj
2018-03-02 12:54:37 +00:00
committed by Rusty Russell
parent dace9bfdcf
commit 8e8d7c2aba
4 changed files with 11 additions and 11 deletions

View File

@@ -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);