swallow errors
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
This commit is contained in:
parent
fef1a97528
commit
0a7ac64413
|
@ -109,6 +109,7 @@ interface OracleInterface {
|
||||||
|
|
||||||
await Promise.all(
|
await Promise.all(
|
||||||
chunk(pullIxs, 2, false).map(async (ixsChunk) => {
|
chunk(pullIxs, 2, false).map(async (ixsChunk) => {
|
||||||
|
try {
|
||||||
const ret = sendTransaction(
|
const ret = sendTransaction(
|
||||||
userProvider,
|
userProvider,
|
||||||
[...ixsChunk],
|
[...ixsChunk],
|
||||||
|
@ -116,8 +117,13 @@ interface OracleInterface {
|
||||||
{ prioritizationFee: 100 },
|
{ prioritizationFee: 100 },
|
||||||
);
|
);
|
||||||
console.log(
|
console.log(
|
||||||
`submitted in in https://solscan.io/tx/${(await ret).signature}`,
|
`submitted in in https://solscan.io/tx/${
|
||||||
|
(await ret).signature
|
||||||
|
}`,
|
||||||
);
|
);
|
||||||
|
} catch (error) {
|
||||||
|
console.log(`Error in sending tx, ${error}`);
|
||||||
|
}
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue