mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-07 00:26:58 +00:00
add callback
This commit is contained in:
@@ -259,6 +259,10 @@ func (mem *CListMempool) CheckTx(
|
||||
|
||||
mem.addNewTransaction(tx, txInfo.SenderID, txInfo.SenderP2PID, cb, resp)
|
||||
|
||||
if cb != nil {
|
||||
cb(resp)
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user