Skip to content

Commit

Permalink
Merge pull request #324 from bancorprotocol/306-hex-string-without-0x…
Browse files Browse the repository at this point in the history
…-prefix

hex string without 0x prefix
  • Loading branch information
mikewcasale authored Jan 23, 2024
2 parents 87726dd + bc9305b commit dff00c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fastlane_bot/events/async_event_update_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ def async_update_pools_from_contracts(mgr: Any, current_block: int, logging_path
# Initialize web3
new_pool_data_df["cid"] = [
cfg.w3.keccak(text=f"{row['descr']}").hex()
if row["exchange_name"] not in mgr.cfg.CARBON_V1_FORKS
else int(row['cid'])
for index, row in new_pool_data_df.iterrows()
]

Expand Down

0 comments on commit dff00c2

Please sign in to comment.