Skip to content

Commit

Permalink
Merge pull request #550 from FactomProject/FD-624_current_min_api_imp…
Browse files Browse the repository at this point in the history
…rovement

FD-624 changed spelling error and call error
  • Loading branch information
factom-clay committed Aug 30, 2018
2 parents 0f851f9 + 4fe3a2f commit 06fb389
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wsapi/wsapiStructs.go
Expand Up @@ -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"`
}

Expand Down
4 changes: 2 additions & 2 deletions wsapi/wsapiV2.go
Expand Up @@ -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
Expand Down

0 comments on commit 06fb389

Please sign in to comment.