Skip to content

Why signTransaction() does not check сonformity of private and public keys?  #301

@Purka

Description

@Purka

When I try to sign transaction with wrong private key I suppose to get an Error.
But instead such transaction is successful.
When I looked through the implementation of signTransaction() I've noticed that there are no any validation. I can even sign a transaction without a private key at all.

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