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

sendTransaction() should accept only 1 private key #289

Open
deeintech opened this issue May 5, 2020 · 1 comment
Open

sendTransaction() should accept only 1 private key #289

deeintech opened this issue May 5, 2020 · 1 comment
Assignees

Comments

@deeintech
Copy link
Contributor

Description

Sending a transaction using sendTransaction function by the omg-js library currently takes an array of private keys causing Uncaught (in promise) Error: Number of non-empty inputs should match signatures count. Remove redundant signatures issue. This happens because a function doesn't know how many UTXOs it will use since it is calculated internally.

Changing the fromPrivateKeys property from an array into a single private key should make things work.

@jarindr jarindr self-assigned this May 6, 2020
@snowkidind
Copy link

curious: was this initially in place for support of multisig wallets?

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

3 participants