From 819f81f702227e8a4f042e14e642ce67d2add1d8 Mon Sep 17 00:00:00 2001 From: Adrian Brink Date: Tue, 17 Oct 2017 14:34:54 +0200 Subject: [PATCH] Change NOTE to CONTRACT --- mempool/mempool.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mempool/mempool.go b/mempool/mempool.go index c1130d9d..f75e53d5 100644 --- a/mempool/mempool.go +++ b/mempool/mempool.go @@ -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()