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.
This commit is contained in:
Tobin C. Harding 2024-05-20 08:56:44 +10:00
parent 13569b86a1
commit fa4d3d4417
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 3 additions and 0 deletions

View File

@ -1795,6 +1795,7 @@ mod tests {
use hashes::Hash;
let params = Params::new(crate::Network::Signet);
let epoch_start = genesis_block(&params).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,