Skip to content

Commit 0e902cf

Browse files
authored
Missing consensus parameters (#35)
1 parent 067f854 commit 0e902cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/resource/dao_resource.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func (r *DaoResource) GetConsensusParameters(c *gin.Context) {
4343
return
4444
}
4545

46-
c.JSON(200, consensus)
46+
c.JSON(200, consensus.All())
4747
}
4848

4949
func (r *DaoResource) GetConsensusParameter(c *gin.Context) {

0 commit comments

Comments
 (0)