We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a538a4 commit ac668b6Copy full SHA for ac668b6
packages/secure-clients/src/SolanaClient/BackpackSolanaWallet.ts
@@ -169,18 +169,18 @@ export class BackpackSolanaWallet {
169
const commitment = request.commitment;
170
171
if (!isVersionedTransaction(tx)) {
172
- if (signers) {
173
- signers.forEach((s: Signer) => {
174
- tx.partialSign(s);
175
- });
176
- }
177
if (!tx.feePayer) {
178
tx.feePayer = publicKey;
179
}
180
if (!tx.recentBlockhash) {
181
const { blockhash } = await connection.getLatestBlockhash(commitment);
182
tx.recentBlockhash = blockhash;
183
+ if (signers) {
+ signers.forEach((s: Signer) => {
+ tx.partialSign(s);
+ });
+ }
184
} else {
185
if (signers) {
186
tx.sign(signers);
0 commit comments