mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
JSON API: fix up two existing warnings to be conformant.
Technically an API break, but nobody relies on these I hope! Note that the feerates warning was buried inside the style object: it should be top-level. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
f53624517b
commit
899ec2b3d4
@@ -1076,7 +1076,7 @@ static void payment_finished(struct payment *p)
|
||||
|
||||
if (result.leafstates != PAYMENT_STEP_SUCCESS)
|
||||
json_add_string(
|
||||
ret, "warning",
|
||||
ret, "warning_partial_completion",
|
||||
"Some parts of the payment are not yet "
|
||||
"completed, but we have the confirmation "
|
||||
"from the recipient.");
|
||||
|
||||
Reference in New Issue
Block a user