crosslightning-solana
Advanced tools
Comparing version 3.0.19 to 3.0.20
@@ -121,3 +121,3 @@ "use strict"; | ||
const eventCallback = (event, slotNumber, signature) => __awaiter(this, void 0, void 0, function* () { | ||
if (this.signaturesProcessing[signature] == null) | ||
if (this.signaturesProcessing[signature] != null) | ||
return; | ||
@@ -194,2 +194,3 @@ console.log("[Solana Events WebSocket] Process signature: ", signature); | ||
yield signatureHandlerPromise; | ||
lastSuccessfulSignature = txSignature; | ||
continue; | ||
@@ -196,0 +197,0 @@ } |
{ | ||
"name": "crosslightning-solana", | ||
"version": "3.0.19", | ||
"version": "3.0.20", | ||
"description": "Solana specific base implementation", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -166,3 +166,3 @@ import {SolanaSwapData} from "../swaps/SolanaSwapData"; | ||
const eventCallback = async (event, slotNumber, signature) => { | ||
if(this.signaturesProcessing[signature]==null) return; | ||
if(this.signaturesProcessing[signature]!=null) return; | ||
@@ -249,2 +249,3 @@ console.log("[Solana Events WebSocket] Process signature: ", signature); | ||
await signatureHandlerPromise; | ||
lastSuccessfulSignature = txSignature; | ||
continue; | ||
@@ -251,0 +252,0 @@ } catch (e) {} |
348808
8220