diff --git a/src/fetch/orderbook.py b/src/fetch/orderbook.py index d543dcda..b74faac4 100644 --- a/src/fetch/orderbook.py +++ b/src/fetch/orderbook.py @@ -94,8 +94,7 @@ def get_order_rewards(cls, block_range: BlockRange) -> DataFrame: return prod.copy() elif not barn.empty: return barn.copy() - else: - return pd.DataFrame() + return pd.DataFrame() @classmethod def get_batch_rewards(cls, block_range: BlockRange) -> DataFrame: @@ -129,5 +128,4 @@ def get_batch_rewards(cls, block_range: BlockRange) -> DataFrame: return prod.copy() elif not barn.empty: return barn.copy() - else: - return pd.DataFrame() + return pd.DataFrame()