Skip to content

Commit 086bad6

Browse files
authored
fix: correct toAddress assignment in transaction queueing logic (#917)
1 parent 1915c53 commit 086bad6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/routes/backend-wallet/transfer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ export async function transfer(fastify: FastifyInstance) {
160160
queueId = await queueTransaction({
161161
transaction,
162162
fromAddress: getChecksumAddress(walletAddress),
163-
toAddress: getChecksumAddress(to),
163+
toAddress: getChecksumAddress(transaction.to),
164164
accountAddress: getChecksumAddress(accountAddress),
165165
accountFactoryAddress: getChecksumAddress(accountFactoryAddress),
166166
accountSalt,

0 commit comments

Comments
 (0)