Commit a68ce3a
authored
refactor(tx_client): remove unnecessary type conversions for PFB gas limit (celestiaorg#5878)
Replace the redundant float round-trip in PFB gas limit calculation by
using the uint64 returned from blobtypes.DefaultEstimateGas directly.
This removes unnecessary conversions, aligns with usage across the
codebase, and avoids any theoretical precision risk without changing
behavior.1 parent a08999c commit a68ce3a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments