revert some accidental stuff
This commit is contained in:
parent
72e3025481
commit
b212470d31
|
@ -5,10 +5,10 @@ const (
|
|||
pastEvidenceFraction float64 = 0.5
|
||||
|
||||
// Minimum time per block
|
||||
minTimePerBlock int64 = 86400 / 2
|
||||
minTimePerBlock int64 = 1000 / 2
|
||||
|
||||
// Maximum time per block
|
||||
maxTimePerBlock int64 = 86400
|
||||
maxTimePerBlock int64 = 1000
|
||||
|
||||
// Number of keys
|
||||
numKeys int = 250
|
||||
|
|
|
@ -65,14 +65,6 @@ func ErrCommissionHuge(codespace sdk.CodespaceType) sdk.Error {
|
|||
return sdk.NewError(codespace, CodeInvalidValidator, "commission cannot be more than 100%")
|
||||
}
|
||||
|
||||
func ErrCommissionBeyondMax(codespace sdk.CodespaceType) sdk.Error {
|
||||
return sdk.NewError(codespace, CodeInvalidValidator, "commission cannot be more than preset commission maximum")
|
||||
}
|
||||
|
||||
func ErrCommissionPastRate(codespace sdk.CodespaceType) sdk.Error {
|
||||
return sdk.NewError(codespace, CodeInvalidValidator, "commission change is greater than the commission rate, please wait before changing your commission more")
|
||||
}
|
||||
|
||||
func ErrNilDelegatorAddr(codespace sdk.CodespaceType) sdk.Error {
|
||||
return sdk.NewError(codespace, CodeInvalidInput, "delegator address is nil")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue