No need to return None in dl_track_new and dl_stop_tracking (#17145)

No need to return None in dl_track_new and dl_stop_tracking.
This commit is contained in:
Amine Khaldi 2024-01-03 21:25:19 +01:00 committed by GitHub
parent 1bc5e0039a
commit 03d927b36b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1140,12 +1140,10 @@ class WalletRpcClient(RpcClient):
async def dl_track_new(self, launcher_id: bytes32) -> None:
request = {"launcher_id": launcher_id.hex()}
await self.fetch("dl_track_new", request)
return None
async def dl_stop_tracking(self, launcher_id: bytes32) -> None:
request = {"launcher_id": launcher_id.hex()}
await self.fetch("dl_stop_tracking", request)
return None
async def dl_latest_singleton(
self, launcher_id: bytes32, only_confirmed: bool = False