File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ async def fetch_gas_price(oracle_url: str) -> Wei | None:
185185
186186 if "result" in data :
187187 return int (data ["result" ], 16 )
188- elif "average " in data :
189- return self .w3 .to_wei (data ["average " ], "gwei" )
188+ elif "fast " in data :
189+ return self .w3 .to_wei (data ["fast " ], "gwei" )
190190 else :
191191 return None
192192 except Exception :
Original file line number Diff line number Diff line change @@ -170,8 +170,8 @@ def fetch_gas_price(oracle_url: str) -> Wei | None:
170170
171171 if "result" in data :
172172 return int (data ["result" ], 16 )
173- elif "average " in data :
174- return self .w3 .to_wei (data ["average " ], "gwei" )
173+ elif "fast " in data :
174+ return self .w3 .to_wei (data ["fast " ], "gwei" )
175175 else :
176176 return None
177177 except Exception :
You can’t perform that action at this time.
0 commit comments