Skip to content

Fix getnetworkhashps return type in docs#591

Open
jamillambert wants to merge 1 commit into
rust-bitcoin:masterfrom
jamillambert:0515-getnetworkhashps-f64
Open

Fix getnetworkhashps return type in docs#591
jamillambert wants to merge 1 commit into
rust-bitcoin:masterfrom
jamillambert:0515-getnetworkhashps-f64

Conversation

@jamillambert
Copy link
Copy Markdown
Collaborator

getnetworkhashps returns an f64 but was marked as returning a bool in the types table, and returning nothing in verify.

Fix them both to be f64.

Update the test to specify the return type.

getnetworkhashps returns an f64 but was marked as returning a bool in
the types table, and returning nothing in verify.

Fix them both to be f64.

Update the test to specify the return type.
Copy link
Copy Markdown
Contributor

@satsfy satsfy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tACK 3d9846c

Solid fix. Verified on regtest, everything checks out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants