Skip to content

Commit 8663358

Browse files
committed
fix-bank msg send
1 parent 830dff9 commit 8663358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testutil/integration/base/factory/helper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (tf *baseTxFactory) calculateFees(gasPrice *sdkmath.Int, gasLimit uint64) (
8787
return sdktypes.Coins{}, errorsmod.Wrap(err, "failed to get base fee")
8888
}
8989
price := resp.BaseFee
90-
fees = sdktypes.Coins{{Denom: denom, Amount: price.MulInt64(int64(gasLimit)).TruncateInt()}} //#nosec G115
90+
fees = sdktypes.Coins{{Denom: denom, Amount: price.MulInt64(int64(gasLimit)).Ceil().RoundInt()}} //#nosec G115
9191
}
9292
return fees, nil
9393
}

0 commit comments

Comments
 (0)