Skip to content

Commit

Permalink
fix: proper handle empty fiat
Browse files Browse the repository at this point in the history
  • Loading branch information
Primexz committed Jun 2, 2024
1 parent 739904e commit 622a448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/calculations.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func (b *Bot) calculateTimeOfNextOrder() {

if orderAmountUntilRefill < 1 {
b.log.Error("Fiat balance is too low to make an order.")
b.timeOfNextOrder = b.timeOfEmptyFiat
b.timeOfNextOrder = time.Now().AddDate(0, 1, 0)
return
}

Expand Down

0 comments on commit 622a448

Please sign in to comment.