diff --git a/wsapi/wsapiStructs.go b/wsapi/wsapiStructs.go index 409a97072c..0665cc8d31 100644 --- a/wsapi/wsapiStructs.go +++ b/wsapi/wsapiStructs.go @@ -74,7 +74,7 @@ type CurrentMinuteResponse struct { CurrentTime int64 `json:"currenttime"` DirectoryBlockInSeconds int64 `json:"directoryblockinseconds"` StallDetected bool `json:"stalldetected"` - FaulTimeOut int64 `json:"faulttimeout"` + FaultTimeOut int64 `json:"faulttimeout"` RoundTimeOut int64 `json:"roundtimeout"` } diff --git a/wsapi/wsapiV2.go b/wsapi/wsapiV2.go index 88a0519e4c..fe9ae23c07 100644 --- a/wsapi/wsapiV2.go +++ b/wsapi/wsapiV2.go @@ -966,8 +966,8 @@ func HandleV2CurrentMinute(state interfaces.IState, params interface{}) (interfa h.CurrentMinuteStartTime = int64(state.GetCurrentMinuteStartTime()) h.DirectoryBlockInSeconds = int64(state.GetDirectoryBlockInSeconds()) h.StallDetected = state.IsStalled() - h.FaulTimeOut = int64(globals.Params.FaultTimeout) - h.RoundTimeOut = int64(globals.Params.FaultTimeout) + h.FaultTimeOut = int64(globals.Params.FaultTimeout) + h.RoundTimeOut = int64(globals.Params.RoundTimeout) //h.LastBlockTime = state.GetTimestamp return h, nil