mirror of
https://github.com/fluencelabs/tendermint
synced 2025-05-28 21:51:22 +00:00
Change NOTE to CONTRACT
This commit is contained in:
parent
036d3b59a3
commit
819f81f702
@ -164,7 +164,7 @@ func (mem *Mempool) TxsFrontWait() *clist.CElement {
|
||||
// It blocks if we're waiting on Update() or Reap().
|
||||
// cb: A callback from the CheckTx command.
|
||||
// It gets called from another goroutine.
|
||||
// NOTE: Either cb will get called, or err returned.
|
||||
// CONTRACT: Either cb will get called, or err returned.
|
||||
func (mem *Mempool) CheckTx(tx types.Tx, cb func(*abci.Response)) (err error) {
|
||||
mem.proxyMtx.Lock()
|
||||
defer mem.proxyMtx.Unlock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user