fix: check for missing prio fee in eth simulate (#15601)

This commit is contained in:
Matthias Seitz
2025-04-08 12:45:30 +02:00
committed by GitHub
parent 897223d307
commit a0c7d1cd77

View File

@@ -157,9 +157,11 @@ where
}
}
_ => {
// set dynamic 1559 fee
// set dynamic 1559 fees
if tx.max_fee_per_gas.is_none() {
tx.max_fee_per_gas = Some(0);
}
if tx.max_priority_fee_per_gas.is_none() {
tx.max_priority_fee_per_gas = Some(0);
}
}