mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-12 04:41:22 +00:00
errcheck: PR comment fixes
This commit is contained in:
committed by
Ethan Buchman
parent
b3c5933a23
commit
b75d4f73e7
@ -25,7 +25,7 @@ type Mempool interface {
|
||||
Size() int
|
||||
CheckTx(Tx, func(*abci.Response)) error
|
||||
Reap(int) Txs
|
||||
Update(height int, txs Txs)
|
||||
Update(height int, txs Txs) error
|
||||
Flush()
|
||||
|
||||
TxsAvailable() <-chan int
|
||||
@ -42,7 +42,7 @@ func (m MockMempool) Unlock() {}
|
||||
func (m MockMempool) Size() int { return 0 }
|
||||
func (m MockMempool) CheckTx(tx Tx, cb func(*abci.Response)) error { return nil }
|
||||
func (m MockMempool) Reap(n int) Txs { return Txs{} }
|
||||
func (m MockMempool) Update(height int, txs Txs) {}
|
||||
func (m MockMempool) Update(height int, txs Txs) error { return nil }
|
||||
func (m MockMempool) Flush() {}
|
||||
func (m MockMempool) TxsAvailable() <-chan int { return make(chan int) }
|
||||
func (m MockMempool) EnableTxsAvailable() {}
|
||||
|
Reference in New Issue
Block a user