Skip to content

Commit

Permalink
disable comits
Browse files Browse the repository at this point in the history
  • Loading branch information
Emyrk committed Jun 17, 2017
1 parent 3c52b10 commit 400137f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions common/messages/commitChain.go
Expand Up @@ -102,6 +102,7 @@ func (m *CommitChainMsg) Type() byte {
// 0 -- Cannot tell if message is Valid
// 1 -- Message is valid
func (m *CommitChainMsg) Validate(state interfaces.IState) int {
return -1
if !m.validsig && !m.CommitChain.IsValid() {
return -1
}
Expand Down
1 change: 1 addition & 0 deletions common/messages/commitEntry.go
Expand Up @@ -201,6 +201,7 @@ func (m *CommitEntryMsg) String() string {
// 0 -- Cannot tell if message is Valid
// 1 -- Message is valid
func (m *CommitEntryMsg) Validate(state interfaces.IState) int {
return -1
if !m.validsig && !m.CommitEntry.IsValid() {
return -1
}
Expand Down

0 comments on commit 400137f

Please sign in to comment.