Skip to content

Commit 3717d1d

Browse files
committed
fix: cargo fmt
1 parent 15560c0 commit 3717d1d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

common/src/protocol_params.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ impl Nonces {
302302
/// Specifically, we combine it with `η` (a.k.a eta), which is a blake2b-256 hash of the
303303
/// tagged leader VRF output after a range extension. The range extension is, yet another
304304
/// blake2b-256 hash.
305-
pub fn evolve(current: &Nonce, nonce_vrf_output: &Vec<u8>,) -> Result<Nonce> {
305+
pub fn evolve(current: &Nonce, nonce_vrf_output: &Vec<u8>) -> Result<Nonce> {
306306
// first hash nonce_vrf_output
307307
let mut hasher = Blake2b::<U32>::new();
308308
hasher.update(nonce_vrf_output.as_slice());

modules/upstream_chain_fetcher/src/utils.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ impl FetcherConfig {
7979
let byron_timestamp = config.get(BYRON_TIMESTAMP).ok()?;
8080
let shelley_epoch = config.get(SHELLEY_EPOCH).ok()?;
8181
let shelley_epoch_len = config.get(SHELLEY_EPOCH_LEN).ok()?;
82-
let shelley_genesis_hash = config.get::<String>(SHELLEY_GENESIS_HASH).ok()?.as_bytes().try_into().unwrap();
82+
let shelley_genesis_hash =
83+
config.get::<String>(SHELLEY_GENESIS_HASH).ok()?.as_bytes().try_into().unwrap();
8384
Some(GenesisValues {
8485
byron_timestamp,
8586
shelley_epoch,

0 commit comments

Comments
 (0)