Skip to content

Commit 21693e8

Browse files
committed
Fix to issue Lock up column is not there for some reason
1 parent 805d65e commit 21693e8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

eth_defi/erc_4626/lead_scan_core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def display_vaults_table(df: pd.DataFrame, nav_threshold=Decimal(1.1)) -> None:
5858
if "Withdraw fee" in df.columns:
5959
del df["Withdraw fee"]
6060

61-
del df["Lock up"]
61+
if "Lock up" in df.columns:
62+
del df["Lock up"]
6263

6364
# Remove zero entries
6465
df = df.loc[df["NAV"] >= nav_threshold]

0 commit comments

Comments
 (0)