privacycash 1.1.14 → 1.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/deposit.js +1 -1
- package/dist/depositSPL.js +1 -1
- package/package.json +1 -1
- package/src/deposit.ts +1 -1
- package/src/depositSPL.ts +1 -1
package/dist/deposit.js
CHANGED
|
@@ -330,7 +330,7 @@ export async function deposit({ lightWasm, storage, keyBasePath, publicKey, conn
|
|
|
330
330
|
// check tx size
|
|
331
331
|
const txSize = versionedTransaction.serialize().length;
|
|
332
332
|
logger.debug(`Initial transaction size: ${txSize} bytes`);
|
|
333
|
-
if (txSize
|
|
333
|
+
if (txSize > 1232) {
|
|
334
334
|
logger.debug(`Transaction size ${txSize} exceeds limit. Cannot proceed.`);
|
|
335
335
|
logger.debug('Removing prioritize compute instruction to reduce size and retrying...');
|
|
336
336
|
// Remove prioritize compute instruction and recreate transaction
|
package/dist/depositSPL.js
CHANGED
|
@@ -383,7 +383,7 @@ export async function depositSPL({ lightWasm, storage, keyBasePath, publicKey, c
|
|
|
383
383
|
// check tx size
|
|
384
384
|
const txSize = versionedTransaction.serialize().length;
|
|
385
385
|
logger.debug(`Serialized transaction size: ${txSize} bytes`);
|
|
386
|
-
if (txSize
|
|
386
|
+
if (txSize > 1232) {
|
|
387
387
|
logger.debug(`Transaction size ${txSize} exceeds limit. Cannot proceed.`);
|
|
388
388
|
logger.debug('Removing prioritize compute instruction to reduce size and retrying...');
|
|
389
389
|
// Remove prioritize compute instruction and recreate transaction
|
package/package.json
CHANGED
package/src/deposit.ts
CHANGED
|
@@ -408,7 +408,7 @@ export async function deposit({ lightWasm, storage, keyBasePath, publicKey, conn
|
|
|
408
408
|
// check tx size
|
|
409
409
|
const txSize = versionedTransaction.serialize().length;
|
|
410
410
|
logger.debug(`Initial transaction size: ${txSize} bytes`);
|
|
411
|
-
if (txSize
|
|
411
|
+
if (txSize > 1232) {
|
|
412
412
|
logger.debug(`Transaction size ${txSize} exceeds limit. Cannot proceed.`);
|
|
413
413
|
logger.debug('Removing prioritize compute instruction to reduce size and retrying...');
|
|
414
414
|
// Remove prioritize compute instruction and recreate transaction
|
package/src/depositSPL.ts
CHANGED
|
@@ -493,7 +493,7 @@ export async function depositSPL({ lightWasm, storage, keyBasePath, publicKey, c
|
|
|
493
493
|
// check tx size
|
|
494
494
|
const txSize = versionedTransaction.serialize().length
|
|
495
495
|
logger.debug(`Serialized transaction size: ${txSize} bytes`);
|
|
496
|
-
if (txSize
|
|
496
|
+
if (txSize > 1232) {
|
|
497
497
|
logger.debug(`Transaction size ${txSize} exceeds limit. Cannot proceed.`);
|
|
498
498
|
logger.debug('Removing prioritize compute instruction to reduce size and retrying...');
|
|
499
499
|
// Remove prioritize compute instruction and recreate transaction
|