-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pool: Gen extra nonce before initialize.
This modifies the new client logic to create the extra nonce before to creating the client and using it during initialization. Constructors should generally handle everything that can error prior to creating the object since it is wasteful to create an object only to immediately throw it away when there is an error.
- Loading branch information
1 parent
7b1fff0
commit b96abb7
Showing
1 changed file
with
18 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters