File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
modules/upstream_chain_fetcher/src Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,7 @@ impl Nonces {
302
302
/// Specifically, we combine it with `η` (a.k.a eta), which is a blake2b-256 hash of the
303
303
/// tagged leader VRF output after a range extension. The range extension is, yet another
304
304
/// 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 > {
306
306
// first hash nonce_vrf_output
307
307
let mut hasher = Blake2b :: < U32 > :: new ( ) ;
308
308
hasher. update ( nonce_vrf_output. as_slice ( ) ) ;
Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ impl FetcherConfig {
79
79
let byron_timestamp = config. get ( BYRON_TIMESTAMP ) . ok ( ) ?;
80
80
let shelley_epoch = config. get ( SHELLEY_EPOCH ) . ok ( ) ?;
81
81
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 ( ) ;
83
84
Some ( GenesisValues {
84
85
byron_timestamp,
85
86
shelley_epoch,
You can’t perform that action at this time.
0 commit comments