Skip to content

Commit

Permalink
Merge pr #2051: smol compile bug
Browse files Browse the repository at this point in the history
  • Loading branch information
rigelrozanski committed Aug 15, 2018
1 parent 4fbaee2 commit 422dfa3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/stake/client/cli/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func getShares(
}
delegation, err := types.UnmarshalDelegation(cdc, key, resQuery)
if err != nil {
return sdk.ZeroRat(), err
return sdk.ZeroDec(), err
}
sharesAmount = sharesPercent.Mul(delegation.Shares)
}
Expand Down

0 comments on commit 422dfa3

Please sign in to comment.