Skip to content

Commit

Permalink
chore: fixed min_expiration sec valu
Browse files Browse the repository at this point in the history
  • Loading branch information
mgordel committed Sep 2, 2024
1 parent 310a250 commit 5526db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/market/market.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export class MarketModuleImpl implements MarketModule {
*/
const MIN_EXPIRATION_SEC = 15 * 60;

const expirationSecBasedOnRentTime = orderOptions.rentHours * 3600;
const expirationSecBasedOnRentTime = orderOptions.rentHours * 60 * 60;
const expirationSec =
expirationSecBasedOnRentTime < MIN_EXPIRATION_SEC ? MIN_EXPIRATION_SEC : expirationSecBasedOnRentTime;

Expand Down

0 comments on commit 5526db4

Please sign in to comment.