Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Nov 13, 2024
1 parent fb797d2 commit 2f9042a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/processOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,8 +613,8 @@ export async function processPair(args: {
// submit the tx
let txhash, txUrl;
try {
rawtx.nonce = await getNonce(flashbotSigner !== undefined ? flashbotSigner : signer);
if (flashbotSigner !== undefined) {
rawtx.nonce = await getNonce(writeSigner !== undefined ? writeSigner : signer);
if (writeSigner !== undefined) {
rawtx.gas = undefined;
}
txhash =
Expand Down

0 comments on commit 2f9042a

Please sign in to comment.