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 b17d299 commit 28b548aCopy full SHA for 28b548a
packages/migration-service/src/ledger.ts
@@ -227,9 +227,9 @@ export async function getMigrateTransactions(
227
const draft = transactions[i];
228
tx.serialize();
229
if (
230
- draft.signers?.some((sig) =>
231
- sig.publicKey.equals(provider.wallet.publicKey)
232
- )
+ draft.instructions.map((ix) => ix.keys).flat().some((key) =>
+ key.pubkey.equals(provider.wallet.publicKey) && key.isSigner
+ ) || draft.feePayer?.equals(provider.wallet.publicKey)
233
) {
234
return provider.wallet.signTransaction(tx);
235
}
0 commit comments