diff --git a/txpool/grpc_server.go b/txpool/grpc_server.go index 54a0e1f50..c4ef964e6 100644 --- a/txpool/grpc_server.go +++ b/txpool/grpc_server.go @@ -269,6 +269,10 @@ func (s *GrpcServer) Transactions(ctx context.Context, in *txpool_proto.Transact if err != nil { return nil, err } + if txnRlp == nil { + reply.RlpTxs[i] = []byte{} + continue + } reply.RlpTxs[i] = txnRlp }