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

convenience function: createBlockIfPossible #35

Open
JoshOrndorff opened this issue Nov 7, 2018 · 0 comments
Open

convenience function: createBlockIfPossible #35

JoshOrndorff opened this issue Nov 7, 2018 · 0 comments

Comments

@JoshOrndorff
Copy link
Contributor

The promise returned by createBlock rejects if there are no new deploys. This is consistent with the node's own behavior and shouldn't be changed.

But it is inconvenient because it prevents calling create block after a list of deploys are made because of the possibility that the list of deploys is empty.

I'd like to add a convenience method that behaves the same as createBlock but still resolves if there are no deploys.

@dckc dckc transferred this issue from another repository Nov 17, 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

No branches or pull requests

1 participant