Skip to content

Commit

Permalink
fix (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeandemeusy authored Mar 5, 2024
1 parent 71cc9f8 commit 7f5519c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ct-app/core/components/hoprd_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def close_channel(self, channel_id: str):
:return: bool
"""
is_ok, _ = await self.__call_api(
ChannelsApi, "channels_close_channel", channel_id
ChannelsApi, "channels_close_channel", channelid=channel_id
)
return is_ok

Expand Down Expand Up @@ -250,7 +250,7 @@ async def ping(self, peer_id: str):
:param: peer_id: str
:return: response: dict
"""
_, response = await self.__call_api(PeersApi, "peers_ping_peer", peer_id)
_, response = await self.__call_api(PeersApi, "peers_ping_peer", peerid=peer_id)
return response

async def peers(
Expand Down

0 comments on commit 7f5519c

Please sign in to comment.