Merge remote-tracking branch 'upstream/release-7.5.0' into chore/merge-release-into-dev
This commit is contained in:
commit
0ad2ee362a
109 changed files with 3283 additions and 697 deletions
|
|
@ -33,7 +33,7 @@ function batch () {
|
|||
order by created desc limit $2`
|
||||
|
||||
const cashOutSql = `select 'cashOut' as tx_class, cash_out_txs.*,
|
||||
(extract(epoch from (now() - greatest(created, confirmed_at))) * 1000) >= $2 as expired
|
||||
(NOT dispense AND extract(epoch from (now() - greatest(created, confirmed_at))) >= $2) as expired
|
||||
from cash_out_txs
|
||||
order by created desc limit $1`
|
||||
|
||||
|
|
@ -51,7 +51,7 @@ function single (txId) {
|
|||
where id=$2`
|
||||
|
||||
const cashOutSql = `select 'cashOut' as tx_class,
|
||||
(extract(epoch from (now() - greatest(created, confirmed_at))) * 1000) >= $2 as expired,
|
||||
(NOT dispense AND extract(epoch from (now() - greatest(created, confirmed_at))) >= $2) as expired,
|
||||
cash_out_txs.*
|
||||
from cash_out_txs
|
||||
where id=$1`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue