Fix selling bug
This commit is contained in:
parent
29d773e36f
commit
47b122acd9
|
|
@ -441,7 +441,7 @@ pub async fn list_up_for_sell(
|
||||||
{
|
{
|
||||||
is_sell = true;
|
is_sell = true;
|
||||||
break;
|
break;
|
||||||
} else if count_candles == maximum_candles {
|
} else if server_epoch - element.transact_time > (1_800_000) * maximum_candles {
|
||||||
// time up selling
|
// time up selling
|
||||||
is_sell = true;
|
is_sell = true;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user