mempool: reactor test

This commit is contained in:
Ethan Buchman
2017-09-05 16:25:02 -04:00
parent 5ad0da1750
commit 88138c38cf
5 changed files with 131 additions and 19 deletions
+1
View File
@@ -471,6 +471,7 @@ FOR_LOOP:
}
if msgBytes != nil {
c.Logger.Debug("Received bytes", "chID", pkt.ChannelID, "msgBytes", msgBytes)
// NOTE: This means the reactor.Receive runs in the same thread as the p2p recv routine
c.onReceive(pkt.ChannelID, msgBytes)
}
default: