Skip to content

Commit 3d63d27

Browse files
committed
Fix Polls Repository Tip Api method
1 parent f62afa2 commit 3d63d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Stratis.Bitcoin.Features.PoA/Voting/VotingController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public IActionResult GetPollsRepositoryTip()
5454
{
5555
try
5656
{
57-
return this.Json(this.votingManager.GetPollsRepositoryTip());
57+
return this.Json(this.votingManager.GetPollsRepositoryTip().Height);
5858
}
5959
catch (Exception e)
6060
{

0 commit comments

Comments
 (0)