add callback

This commit is contained in:
Callum Waters
2022-09-22 10:35:19 +02:00
parent 61a4e70365
commit dc0b8923cc
5 changed files with 10 additions and 14 deletions
+4
View File
@@ -259,6 +259,10 @@ func (mem *CListMempool) CheckTx(
mem.addNewTransaction(tx, txInfo.SenderID, txInfo.SenderP2PID, cb, resp)
if cb != nil {
cb(resp)
}
return nil
}