We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2927146 commit d8f6052Copy full SHA for d8f6052
1 file changed
src/mpp/methods/tempo/client.py
@@ -212,6 +212,8 @@ async def _build_tempo_transfer(
212
213
resolved_rpc = rpc_url or self.rpc_url
214
215
+ gas_estimate_data: str | None = None
216
+
217
if splits:
218
from mpp.methods.tempo.intents import get_transfers
219
from mpp.methods.tempo.schemas import Split as SplitModel
@@ -264,7 +266,7 @@ async def _build_tempo_transfer(
264
266
resolved_rpc, nonce_address, currency, c.data.hex()
265
267
)
268
gas_limit = max(gas_limit, total_estimated + 5_000 * len(calls_tuple))
- else:
269
+ elif gas_estimate_data is not None:
270
estimated = await estimate_gas(
271
resolved_rpc, nonce_address, currency, gas_estimate_data
272
0 commit comments