Skip to content

Commit

Permalink
fix: voting end height parse
Browse files Browse the repository at this point in the history
  • Loading branch information
Teja2045 committed Sep 20, 2024
1 parent 2a98c55 commit 9e9455d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keeper/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package keeper

import (
"encoding/binary"
"fmt"
"strconv"

"cosmossdk.io/collections"
storetypes2 "cosmossdk.io/store/types"
Expand Down Expand Up @@ -41,7 +41,7 @@ func ParseVotingEndHeight(height uint64) string {
if height == 0 {
return ""
}
return fmt.Sprintln(height)
return strconv.FormatUint(height, 10)
}

// CanUpdateStatusToPending checks if the blob status can be updated to "pending".
Expand Down

0 comments on commit 9e9455d

Please sign in to comment.