-
Notifications
You must be signed in to change notification settings - Fork 12
retrieve n addresses starting from next unused index #36
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
base: master
Are you sure you want to change the base?
Conversation
sign/verify messages using bitcoin-js + unit tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made one comment. Also looks like the package-lock.json is conflicting after merging the other PR to the master.
return nextFreeAddresses; | ||
} | ||
// return object: [{ index: "", address: ""}, ...] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How is this different from async getAddressAsync()
right above it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function returns n addresses starting from the next unused address retrieved by getAddressAsync()
. I suppose the looping could just happen on the app side but I think it's a useful minor addition to the library.
No description provided.