Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
b66861cb
Commit
b66861cb
authored
Aug 13, 2020
by
Cecile Tonglet
Browse files
WIP
Forked at:
e9164236
Parent branch: origin/rococo-branch
parent
0070028f
Pipeline
#103766
failed with stages
in 20 minutes and 35 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
collator/src/lib.rs
View file @
b66861cb
...
...
@@ -200,8 +200,9 @@ pub async fn collate<P>(
Some
(
collation
)
}
/// Build a collator service based on the `YaExecuteWithClient`.
#[cfg(feature
=
"service-rewr"
)]
fn
build_collator_service
<
P
>
(
pub
fn
build_collator_service
<
P
>
(
spawner
:
SpawnTaskHandle
,
handles
:
FullNodeHandles
,
client
:
impl
YaExecuteWithClient
,
...
...
@@ -351,8 +352,9 @@ impl<P> polkadot_service::ExecuteWithClient for BuildCollationWork<P>
}
}
/// Build a collator service based on the `YaExecuteWithClient`.
#[cfg(not(feature
=
"service-rewr"
))]
fn
build_collator_service
<
P
>
(
pub
fn
build_collator_service
<
P
>
(
spawner
:
SpawnTaskHandle
,
handles
:
FullNodeHandles
,
client
:
impl
YaExecuteWithClient
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment