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

Move TransactionBuilder.scriptForAddress to Address.js #373

Closed
maraoz opened this issue Jun 9, 2014 · 0 comments · Fixed by #384
Closed

Move TransactionBuilder.scriptForAddress to Address.js #373

maraoz opened this issue Jun 9, 2014 · 0 comments · Fixed by #384

Comments

@maraoz
Copy link
Contributor

maraoz commented Jun 9, 2014

It's a address to script conversion, so it should be in Address.

It can also change name to "Address#getScriptPubKey"
Ref: https://github.com/bitpay/bitcore/blob/master/lib/TransactionBuilder.js#L123

ryanxcharles pushed a commit that referenced this issue Jun 20, 2014
Move TransactionBuilder.scriptForAddress to Address.getScriptPubKey. Resolves #373
micahriggan pushed a commit to micahriggan/bitcore that referenced this issue Dec 27, 2018
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

Successfully merging a pull request may close this issue.

1 participant