We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ecca9ff commit e67a227Copy full SHA for e67a227
1 file changed
src/mpp/methods/tempo/client.py
@@ -219,6 +219,8 @@ async def _build_tempo_transfer(
219
220
resolved_rpc = rpc_url or self.rpc_url
221
222
+ gas_estimate_data: str | None = None
223
+
224
if splits:
225
from mpp.methods.tempo.intents import get_transfers
226
from mpp.methods.tempo.schemas import Split as SplitModel
@@ -271,7 +273,7 @@ async def _build_tempo_transfer(
271
273
resolved_rpc, nonce_address, currency, c.data.hex()
272
274
)
275
gas_limit = max(gas_limit, total_estimated + 5_000 * len(calls_tuple))
- else:
276
+ elif gas_estimate_data is not None:
277
estimated = await estimate_gas(
278
resolved_rpc, nonce_address, currency, gas_estimate_data
279
0 commit comments