We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3585e40 commit 68763aeCopy full SHA for 68763ae
src/server/routes/transaction/syncRetry.ts
@@ -57,9 +57,6 @@ export async function syncRetryTransaction(fastify: FastifyInstance) {
57
},
58
handler: async (request, reply) => {
59
const { queueId, maxFeePerGas, maxPriorityFeePerGas } = request.body;
60
- const walletAddress = request.headers[
61
- "x-backend-wallet-address"
62
- ] as string;
63
64
const tx = await prisma.transactions.findUnique({
65
where: {
@@ -100,7 +97,7 @@ export async function syncRetryTransaction(fastify: FastifyInstance) {
100
97
// Get signer.
101
98
const sdk = await getSdk({
102
99
chainId: Number(tx.chainId),
103
- walletAddress,
+ walletAddress: tx.fromAddress,
104
});
105
const signer = sdk.getSigner();
106
if (!signer) {
0 commit comments