projects
/
rust-lightning
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8cc026b
)
Remove unnecessary spaces
author
Jeffrey Czyz
<jkczyz@gmail.com>
Thu, 17 Jun 2021 18:55:11 +0000
(13:55 -0500)
committer
Jeffrey Czyz
<jkczyz@gmail.com>
Fri, 18 Jun 2021 05:26:36 +0000
(
00:26
-0500)
lightning-block-sync/src/poll.rs
patch
|
blob
|
history
diff --git
a/lightning-block-sync/src/poll.rs
b/lightning-block-sync/src/poll.rs
index 6a1cd6598b5f7971b23c584857b25b1796306d48..c59652ea51716db9c7d24c3d9015c2e73f13833b 100644
(file)
--- a/
lightning-block-sync/src/poll.rs
+++ b/
lightning-block-sync/src/poll.rs
@@
-170,12
+170,12
@@
mod sealed {
///
/// Other `Poll` implementations should be built using `ChainPoller` as it provides the simplest way
/// of validating chain data and checking consistency.
///
/// Other `Poll` implementations should be built using `ChainPoller` as it provides the simplest way
/// of validating chain data and checking consistency.
-pub struct ChainPoller<B: DerefMut<Target=T> + Sized
, T: BlockSource> {
+pub struct ChainPoller<B: DerefMut<Target=T> + Sized, T: BlockSource> {
block_source: B,
network: Network,
}
block_source: B,
network: Network,
}
-impl<B: DerefMut<Target=T> + Sized
, T: BlockSource> ChainPoller<B, T> {
+impl<B: DerefMut<Target=T> + Sized, T: BlockSource> ChainPoller<B, T> {
/// Creates a new poller for the given block source.
///
/// If the `network` parameter is mainnet, then the difficulty between blocks is checked for
/// Creates a new poller for the given block source.
///
/// If the `network` parameter is mainnet, then the difficulty between blocks is checked for