crosslightning-solana
Advanced tools
Comparing version 3.0.10 to 3.0.11
@@ -185,2 +185,4 @@ "use strict"; | ||
//Check if paid or what | ||
if (!e.message.startsWith("Account does not exist or has no data")) | ||
throw e; | ||
const signatures = yield this.signer.connection.getSignaturesForAddress(escrowStateKey, { | ||
@@ -225,3 +227,4 @@ limit: 500 | ||
catch (e) { | ||
console.log(e); | ||
if (!e.message.startsWith("Account does not exist or has no data")) | ||
throw e; | ||
} | ||
@@ -479,5 +482,7 @@ //Check if paid or what | ||
catch (e) { | ||
if (e.message.startsWith("Account does not exist or has no data")) | ||
return false; | ||
console.error(e); | ||
throw e; | ||
} | ||
return false; | ||
}); | ||
@@ -515,3 +520,6 @@ } | ||
catch (e) { | ||
if (e.message.startsWith("Account does not exist or has no data")) | ||
return null; | ||
console.error(e); | ||
throw e; | ||
} | ||
@@ -518,0 +526,0 @@ return null; |
{ | ||
"name": "crosslightning-solana", | ||
"version": "3.0.10", | ||
"version": "3.0.11", | ||
"description": "Solana specific base implementation", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -247,2 +247,4 @@ import {SolanaSwapData} from "./SolanaSwapData"; | ||
//Check if paid or what | ||
if(!e.message.startsWith("Account does not exist or has no data")) throw e; | ||
const signatures = await this.signer.connection.getSignaturesForAddress(escrowStateKey, { | ||
@@ -285,3 +287,3 @@ limit: 500 | ||
} catch (e) { | ||
console.log(e); | ||
if(!e.message.startsWith("Account does not exist or has no data")) throw e; | ||
} | ||
@@ -624,5 +626,6 @@ | ||
} catch (e) { | ||
if(e.message.startsWith("Account does not exist or has no data")) return false; | ||
console.error(e); | ||
throw e; | ||
} | ||
return false; | ||
} | ||
@@ -680,3 +683,5 @@ | ||
} catch (e) { | ||
if(e.message.startsWith("Account does not exist or has no data")) return null; | ||
console.error(e); | ||
throw e; | ||
} | ||
@@ -683,0 +688,0 @@ return null; |
338851
8014