「🔨」 fix: fixed txHash

This commit is contained in:
KeyZox committed 2025-07-30 16:22:36 +02:00
1 parent b1960ec697
commit 95a9332ad1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export async function addTx(request, reply, fastify) {
}); });
return reply.code(200).send({ return reply.code(200).send({
id: id id: Number(id)
}); });
} catch (err) { } catch (err) {
fastify.log.error(err); fastify.log.error(err);
+1 -1
View File
@@ -22,7 +22,7 @@ export async function getTx(request, reply, fastify) {
p1Score: Number(score.p1Score), p1Score: Number(score.p1Score),
p2Score: Number(score.p2Score) p2Score: Number(score.p2Score)
}, },
tx: tx tx: tx?.txHash ?? null
}); });
} catch (err) { } catch (err) {
fastify.log.error(err); fastify.log.error(err);