mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 17:44:29 +00:00
move mocks to _test.go
This commit is contained in:
parent
2cdedca2ef
commit
4bbf980a4e
@ -219,7 +219,7 @@ func (f *Fetch) handleInboundMessage(req *sentry.InboundMessage, sentryClient se
|
||||
}
|
||||
}
|
||||
case sentry.MessageId_GET_POOLED_TRANSACTIONS_66, sentry.MessageId_GET_POOLED_TRANSACTIONS_65:
|
||||
//TODO: handleInboundMessage is single-threaded - means it can accept as argument couple buffers (or analog of txParseContext). Protobuf encoding will copy data anyway.
|
||||
//TODO: handleInboundMessage is single-threaded - means it can accept as argument couple buffers (or analog of txParseContext). Protobuf encoding will copy data anyway, but DirectClient doesn't
|
||||
var encodedRequest []byte
|
||||
messageId := sentry.MessageId_POOLED_TRANSACTIONS_66
|
||||
if req.Id == sentry.MessageId_GET_POOLED_TRANSACTIONS_65 {
|
||||
|
Loading…
Reference in New Issue
Block a user