Skip to content

Commit

Permalink
write concatenated tx signature to postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
oXtxNt9U committed Jan 10, 2025
1 parent 791e903 commit 47ae35a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions packages/api-sync/source/restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,7 @@ export class Restore {
senderAddress: data.senderAddress,
senderPublicKey: data.senderPublicKey,
sequence: data.sequence as unknown as number,
// signature: data.signature,
signature: "",
signature: `${data.r}${data.s}${data.v}`,
signatures: undefined, //data.signatures,
timestamp: block.header.timestamp.toFixed(),
});
Expand Down
3 changes: 1 addition & 2 deletions packages/api-sync/source/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,7 @@ export class Sync implements Contracts.ApiSync.Service {
senderAddress: data.senderAddress,
senderPublicKey: data.senderPublicKey,
sequence: data.sequence as unknown as number,
// signature: data.signature,
signature: "",
signature: `${data.r}${data.s}${data.v}`,
signatures: undefined, //data.signatures,
timestamp: header.timestamp.toFixed(),
})),
Expand Down

0 comments on commit 47ae35a

Please sign in to comment.