fix get_tx_details
This commit is contained in:
parent
d60f3070da
commit
0db17ccc0a
1 changed files with 4 additions and 4 deletions
|
|
@ -660,7 +660,10 @@ const requestsLimiter = rateLimit({
|
|||
if (tx_hash) {
|
||||
// Fetching transaction details with associated block information using Sequelize
|
||||
const transaction = await Transaction.findOne({
|
||||
where: { tx_id: tx_hash },
|
||||
where: {
|
||||
tx_id: tx_hash,
|
||||
keeper_block: { [Op.ne]: null }
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
|
|
@ -668,9 +671,6 @@ const requestsLimiter = rateLimit({
|
|||
where: { height: transaction?.keeper_block },
|
||||
}).catch(() => null);
|
||||
|
||||
console.log("txData", transaction, transactionBlock);
|
||||
|
||||
|
||||
|
||||
if (transaction && transactionBlock) {
|
||||
const response = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue