diff --git a/src/routes/rgbpp/transaction.ts b/src/routes/rgbpp/transaction.ts index 3aeaeebb..cad29e77 100644 --- a/src/routes/rgbpp/transaction.ts +++ b/src/routes/rgbpp/transaction.ts @@ -134,7 +134,7 @@ const transactionRoute: FastifyPluginCallback, Server, ZodT response: { 200: z.object({ state: z.string().describe('The state of the transaction'), - reason: z.string().optional().describe('The reason why the transaction failed'), + failedReason: z.string().optional().describe('The reason why the transaction failed'), }), }, }, @@ -150,7 +150,7 @@ const transactionRoute: FastifyPluginCallback, Server, ZodT if (state === 'failed') { return { state, - reason: job.failedReason, + failedReason: job.failedReason, }; } return { state };