Skip to content

Commit 6b9594a

Browse files
authored
fix: fixed regression in TransactionsService.importSignature() (#2145)
Signed-off-by: Eric Le Ponner <eric.leponner@icloud.com>
1 parent ca76b41 commit 6b9594a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

back-end/apps/api/src/transactions/transactions.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@ export class TransactionsService {
530530
const params: any = {};
531531

532532
batch.forEach((update, idx) => {
533-
caseSQL += `WHEN :id${idx} THEN :bytes${idx} `;
533+
caseSQL += `WHEN :id${idx} THEN :bytes${idx}::bytea `;
534534
params[`id${idx}`] = update.id;
535535
params[`bytes${idx}`] = update.transactionBytes;
536536
});

0 commit comments

Comments
 (0)