Browse Source

fixes from rebase

pull/1667/head
Ethan Buchman 6 years ago
parent
commit
71556c62eb
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      Gopkg.lock
  2. +1
    -1
      state/execution.go
  3. +1
    -1
      state/validation.go

+ 1
- 1
Gopkg.lock View File

@ -374,6 +374,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "bdcf814c0cd3b8d6cc11ad03da556abe169f872a45e6dcbd8b08588b4587ddde"
inputs-digest = "6d7d755329cebd1f640324a38507c41b638ca0898737db9d633c75eff58c46f0"
solver-name = "gps-cdcl"
solver-version = 1

+ 1
- 1
state/execution.go View File

@ -73,7 +73,7 @@ func (blockExec *BlockExecutor) ApplyBlock(state State, blockID types.BlockID, b
return state, ErrInvalidBlock(err)
}
abciResponses, err := execBlockOnProxyApp(blockExec.logger, blockExec.proxyApp, block, s.LastValidators, blockExec.db)
abciResponses, err := execBlockOnProxyApp(blockExec.logger, blockExec.proxyApp, block, state.LastValidators, blockExec.db)
if err != nil {
return state, ErrProxyAppConn(err)
}


+ 1
- 1
state/validation.go View File

@ -117,7 +117,7 @@ func VerifyEvidence(stateDB dbm.DB, state State, evidence types.Evidence) error
return fmt.Errorf("Address %X was not a validator at height %d", addr, height)
}
if err := evidence.Verify(s.ChainID, val.PubKey); err != nil {
if err := evidence.Verify(state.ChainID, val.PubKey); err != nil {
return err
}


Loading…
Cancel
Save