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

Typescript: type for public and private keys switched #1767

Open
aryzing opened this issue Nov 21, 2024 · 0 comments
Open

Typescript: type for public and private keys switched #1767

aryzing opened this issue Nov 21, 2024 · 0 comments
Assignees
Labels
bug Unwanted or unintended logic causing harm

Comments

@aryzing
Copy link

aryzing commented Nov 21, 2024

What version of Stacks.js are you using?

transactions 7.0.3

Describe the bug

Seems the types for public and private keys have been switched in this section of the code

export interface UnsignedContractCallOptions extends ContractCallOptions {
publicKey: PrivateKey;
}
export interface SignedContractCallOptions extends ContractCallOptions {
senderKey: PublicKey;
}

@aryzing aryzing added the bug Unwanted or unintended logic causing harm label Nov 21, 2024
@github-project-automation github-project-automation bot moved this to 🆕 New in DevTools Nov 21, 2024
@smcclellan smcclellan moved this from 🆕 New to 📋 Backlog in DevTools Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unwanted or unintended logic causing harm
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants