Skip to content

Commit

Permalink
fix resolve input signer implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
twwu123 committed Jun 26, 2024
1 parent b0af813 commit 140af79
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/core/src/wallet/embedded.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,9 +382,11 @@ export class EmbeddedWallet {
u.input.txHash === inputHash.to_hex()
) !== undefined
? paymentKeyHash
: 'OUR_PRINCESS_IS_IN_ANOTHER_CASTLE';
: undefined;

const finalSigners = signer ? [...signers, signer] : signers;

return resolveTxInputsSigners(inputs, [...signers, signer], index + 1);
return resolveTxInputsSigners(inputs, finalSigners, index + 1);
};

const resolveRequiredSigners = (
Expand Down

0 comments on commit 140af79

Please sign in to comment.