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
5ded9e39
Commit
5ded9e39
authored
Aug 06, 2018
by
asynchronous rob
Committed by
Sergey Pepyakin
Aug 06, 2018
Browse files
Fix some formatting grumbles (#501)
parent
4de7de86
Changes
2
Hide whitespace changes
Inline
Side-by-side
consensus/src/service.rs
View file @
5ded9e39
...
...
@@ -160,7 +160,8 @@ impl Service {
)
->
Service
where
A
:
LocalPolkadotApi
+
Send
+
Sync
+
'static
,
C
:
BlockchainEvents
<
Block
>
+
ChainHead
<
Block
>
+
BlockBody
<
Block
>
+
bft
::
BlockImport
<
Block
>
+
bft
::
Authorities
<
Block
>
+
Send
+
Sync
+
'static
,
C
:
BlockchainEvents
<
Block
>
+
ChainHead
<
Block
>
+
BlockBody
<
Block
>
,
C
:
bft
::
BlockImport
<
Block
>
+
bft
::
Authorities
<
Block
>
+
Send
+
Sync
+
'static
,
N
:
Network
+
Collators
+
Send
+
'static
,
N
::
TableRouter
:
Send
+
'static
,
<
N
::
Collation
as
IntoFuture
>
::
Future
:
Send
+
'static
,
...
...
consensus/src/shared_table/mod.rs
View file @
5ded9e39
...
...
@@ -268,8 +268,7 @@ impl<D, E, C, Err> Future for PrimedStatementProducer<D, E, C>
debug!
(
target
:
"consensus"
,
"Claiming candidate {} available."
,
hash
);
statements
.extrinsic
=
Some
(
extrinsic
);
statements
.availability
=
Some
(
GenericStatement
::
Available
(
hash
));
statements
.availability
=
Some
(
GenericStatement
::
Available
(
hash
));
work
.ensure_available
=
false
;
}
...
...
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