🔨」 fix: fixed txHash

This commit is contained in:
2025-07-30 16:22:36 +02:00
parent b1960ec697
commit 95a9332ad1
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ export async function addTx(request, reply, fastify) {
});
return reply.code(200).send({
id: id
id: Number(id)
});
} catch (err) {
fastify.log.error(err);

View File

@ -22,7 +22,7 @@ export async function getTx(request, reply, fastify) {
p1Score: Number(score.p1Score),
p2Score: Number(score.p2Score)
},
tx: tx
tx: tx?.txHash ?? null
});
} catch (err) {
fastify.log.error(err);