Skip to content

Wrong signer. #157

@adjisb

Description

@adjisb

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions