(state sm.State, pubKey crypto.PubKey)
| 358 | } |
| 359 | |
| 360 | func onlyValidatorIsUs(state sm.State, pubKey crypto.PubKey) bool { |
| 361 | if state.Validators.Size() > 1 { |
| 362 | return false |
| 363 | } |
| 364 | addr, _ := state.Validators.GetByIndex(0) |
| 365 | return bytes.Equal(pubKey.Address(), addr) |
| 366 | } |
| 367 | |
| 368 | func createMempoolAndMempoolReactor( |
| 369 | config *cfg.Config, |
no test coverage detected