Skip to content

Commit 8db721e

Browse files
committed
wip
1 parent 6cd74f2 commit 8db721e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cosmos-client/src/gas.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,8 @@ impl GasFillerT for FeemarketGasFiller {
155155
amount: u128_saturating_mul_f64(
156156
amount.to_integer().try_into().unwrap_or(u128::MAX),
157157
self.gas_multiplier.unwrap_or(1.0),
158-
),
158+
)
159+
.min(self.max_gas.into()),
159160
denom: coin.denom,
160161
}],
161162
gas_limit: self.max_gas,

0 commit comments

Comments
 (0)