X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=lightning-block-sync%2Fsrc%2Fpoll.rs;h=c59652ea51716db9c7d24c3d9015c2e73f13833b;hb=7302c8c38a748a5fb991d142a997b9ffd1d57248;hp=6a1cd6598b5f7971b23c584857b25b1796306d48;hpb=8cc026b4068e72ecb6d3e0d22a4ace266d59576d;p=rust-lightning diff --git a/lightning-block-sync/src/poll.rs b/lightning-block-sync/src/poll.rs index 6a1cd659..c59652ea 100644 --- 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. -pub struct ChainPoller + Sized , T: BlockSource> { +pub struct ChainPoller + Sized, T: BlockSource> { block_source: B, network: Network, } -impl + Sized , T: BlockSource> ChainPoller { +impl + Sized, T: BlockSource> ChainPoller { /// Creates a new poller for the given block source. /// /// If the `network` parameter is mainnet, then the difficulty between blocks is checked for