Skip to content

Conversation

@Emyrk
Copy link
Contributor

@Emyrk Emyrk commented Oct 21, 2019

No description provided.

@Emyrk
Copy link
Contributor Author

Emyrk commented Oct 21, 2019

This is work done by Daniel, I made the PR because I clicked the PR button..

dblock.go Outdated
}

// ReplayDBlockFromHeight requests DBlock states to be emitted over the LiveFeed API
func ReplayDBlockFromHeight(startheight int64, endheight int64) (*JSON2Response, error) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there a reason we are returning the JSON2Response vs a type a user can more easily work with?

I'm guessing the response is something as simple as success?
We should really return the unmarshalled type here, and not have the caller do that work

@Emyrk
Copy link
Contributor Author

Emyrk commented Oct 22, 2019

I made the PR, but Daniel did the work. I approve 👍

@Emyrk Emyrk requested a review from carryforward October 22, 2019 15:47
Copy link
Contributor

@VeenaGondkar VeenaGondkar left a comment

Choose a reason for hiding this comment

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

Approving the changes made

@VeenaGondkar VeenaGondkar merged commit 1dd545b into develop Oct 22, 2019
@PaulBernier PaulBernier deleted the AP-484 branch August 27, 2020 02:10
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 this pull request may close these issues.

4 participants