Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
thibault-martinez committed Nov 8, 2023
1 parent 5e214c3 commit 45e8e64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/src/types/block/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ impl ProtocolParameters {
version: u8,
network_name: impl Into<String>,
bech32_hrp: impl ConvertTo<Hrp>,
params: StorageScoreParameters,
storage_score_parameters: StorageScoreParameters,
token_supply: u64,
genesis_unix_timestamp: u64,
slot_duration_in_seconds: u8,
Expand All @@ -136,7 +136,7 @@ impl ProtocolParameters {
version,
network_name: <StringPrefix<u8>>::try_from(network_name.into()).map_err(Error::InvalidStringPrefix)?,
bech32_hrp: bech32_hrp.convert()?,
storage_score_parameters: params,
storage_score_parameters,
token_supply,
genesis_unix_timestamp,
slot_duration_in_seconds,
Expand Down

0 comments on commit 45e8e64

Please sign in to comment.