Skip to content

Conversation

@natobritto
Copy link
Contributor

The RPC has missing fields which are enabled only when coinstatsindex option is called or muhash hash type is used. Argument list is also added to header comment.

Partially fixes issue #474.

The RPC has missing fields which are enabled only when `coinstatsindex`
or muhash hash type is used. Argument list is also added to header coment.
let disk_size = crate::to_u32(self.disk_size, "disk_size")?;
let transactions = self
.transactions
.map(|v| crate::to_u32(v, "transactions").map_err(E::Numeric))
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
.map(|v| crate::to_u32(v, "transactions").map_err(E::Numeric))
.map(|v| crate::to_u32(v, "transactions")

Sorry I meant remove all of the map_err(E::Numeric)

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants