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

Wrong signer. #157

Open
adjisb opened this issue Mar 30, 2023 · 0 comments
Open

Wrong signer. #157

adjisb opened this issue Mar 30, 2023 · 0 comments

Comments

@adjisb
Copy link

adjisb commented Mar 30, 2023

I'm using mexa-sdk with three accounts. I want to send a tx with the account number one, but the sdk always uses the account zero to sign.
Instead of taking the signer from my from field in the transaction this.signer is used to sign which is set in the init() function:

async init() {
  try {
    this.signer = this.ethersProvider.getSigner();

Mexa SDK version (please complete the following information):

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

No branches or pull requests

1 participant