diff --git a/eth_portfolio/_cache.py b/eth_portfolio/_cache.py index 8278563a..46c4c53a 100644 --- a/eth_portfolio/_cache.py +++ b/eth_portfolio/_cache.py @@ -37,7 +37,7 @@ async def disk_cache_wrap(*args: P.args, **kwargs: P.kwargs) -> T: return pickle.loads(await f.read()) async_result: T = await fn(*args, **kwargs) - await __cache_write(cache_path, result) + await __cache_write(cache_path, async_result) return async_result else: