Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
Signed-off-by: Jürgen Eckel <[email protected]>
  • Loading branch information
eckelj committed Nov 14, 2023
1 parent e1306a7 commit bb3936b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/dao/keeper/distribution.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,12 @@ func ComputeDistribution(lastReissuance int64, BlockHeight int64, amount uint64)
func getUint64FromTXString(ctx sdk.Context, tx string) (amount uint64, err error) {
subStrings := strings.Split(tx, " ")
if len(subStrings) < 3 {
ctx.Logger().Error("Reissue TX string is shorter than expected. " + tx)
ctx.Logger().Error("Reissue tx string is shorter than expected. " + tx)
} else {
value := subStrings[2]
amount, err = util.RDDLTokenStringToUint(value)
if err != nil {
ctx.Logger().Error("Reissue TX string value is invalid " + subStrings[2])
ctx.Logger().Error("Reissue tx string value is invalid " + subStrings[2])
}
}
return amount, err
Expand Down

0 comments on commit bb3936b

Please sign in to comment.