From fa4d3d4417f8d4e32be1b3b9c7f0b077aa5730f0 Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Mon, 20 May 2024 08:56:44 +1000 Subject: [PATCH] Add whitespace The formatter lines up comments if they are on consecutive lines even if the second is supposed to be at the start of the collum and the first is after code. Putting a line of whitespace between the two lines stops this from happening. Add whitespace to stop the formatter doing silly changes. Whitespace only. --- bitcoin/src/pow.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bitcoin/src/pow.rs b/bitcoin/src/pow.rs index c4c09fb15..b82c6fe56 100644 --- a/bitcoin/src/pow.rs +++ b/bitcoin/src/pow.rs @@ -1795,6 +1795,7 @@ mod tests { use hashes::Hash; let params = Params::new(crate::Network::Signet); let epoch_start = genesis_block(¶ms).header; + // Block 2015, the only information used are `bits` and `time` let current = Header { version: Version::ONE, @@ -1815,6 +1816,7 @@ mod tests { use hashes::Hash; let params = Params::new(crate::Network::Signet); let starting_bits = CompactTarget::from_consensus(503394215); // Block 2016 compact target + // Block 2016, the only information used is `time` let epoch_start = Header { version: Version::ONE, @@ -1824,6 +1826,7 @@ mod tests { bits: starting_bits, nonce: 0 }; + // Block 4031, the only information used are `bits` and `time` let current = Header { version: Version::ONE,