mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-23 15:00:34 +01:00
Pass bool true instead of "true" to json_add_bool(..., bool value)
This commit is contained in:
parent
db362e2e23
commit
c6b5e72e3b
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ static void gossipd_getpeers_complete(struct subd *gossip, const u8 *msg,
|
|||
type_to_string(response, struct wireaddr,
|
||||
addrs + i));
|
||||
json_array_end(response);
|
||||
json_add_bool(response, "connected", "true");
|
||||
json_add_bool(response, "connected", true);
|
||||
json_add_string(response, "owner", gossip->name);
|
||||
json_object_end(response);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue