@layerzerolabs/oft-v2-solana-sdk 3.0.16 → 3.0.17
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/index.mjs
CHANGED
|
@@ -556,8 +556,7 @@ function getAccountMetasAndSigners(accounts, optionalAccountStrategy, programId)
|
|
|
556
556
|
const signers = [];
|
|
557
557
|
accounts.forEach((account) => {
|
|
558
558
|
if (!account.value) {
|
|
559
|
-
if (optionalAccountStrategy === "omitted")
|
|
560
|
-
return;
|
|
559
|
+
if (optionalAccountStrategy === "omitted") return;
|
|
561
560
|
keys.push({ pubkey: programId, isSigner: false, isWritable: false });
|
|
562
561
|
return;
|
|
563
562
|
}
|
|
@@ -2095,5 +2094,5 @@ var OftPDA = class {
|
|
|
2095
2094
|
};
|
|
2096
2095
|
|
|
2097
2096
|
export { OFT_DECIMALS, OFT_SEED, OftPDA, PEER_SEED, accounts_exports as accounts, errors_exports as errors, instructions_exports as instructions, oft_exports as oft, programs_exports as programs, shared_exports as shared, types_exports as types };
|
|
2098
|
-
//# sourceMappingURL=
|
|
2097
|
+
//# sourceMappingURL=index.mjs.map
|
|
2099
2098
|
//# sourceMappingURL=index.mjs.map
|