Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Multisign SignAs where user has set RegularKey #110

Open
dangell7 opened this issue May 24, 2024 · 1 comment
Open

Feature: Multisign SignAs where user has set RegularKey #110

dangell7 opened this issue May 24, 2024 · 1 comment
Milestone

Comments

@dangell7
Copy link

In order to perform multisign where one of the signers has a RegularKey enabled you must signAs using the account while signing the transaction with the delegate.

const signer1 = derive.familySeed('') -> This user has set their `RegularKey` to signer1Delegate
const signer1Delegate = derive.familySeed('')
const regKeySig1 = sign(
    accountSetTx,
    signer1Delegate.signAs(signer1.address as string)
  )

The fix might occur here:

signerInstance = signerInstance.signAs(preferredSigner.address);

This account needs to be the signer1 address.

@WietseWind WietseWind added this to the 3.3 milestone Jan 8, 2025
@N3TC4T
Copy link
Member

N3TC4T commented Jan 17, 2025

Fixed in 5d951c8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants