Skip to content

Commit 448e7e5

Browse files
committed
Merge remote-tracking branch 'origin/main' into whankinsiv/historical-accounts-address-indexing
2 parents 64cf7da + a819884 commit 448e7e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

codec/src/map_parameters.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn to_hash<const N: usize>(pallas_hash: &pallas_primitives::Hash<N>) -> Hash
3737

3838
/// Convert a Pallas Hash reference to an Acropolis Hash (owned)
3939
/// Works for any hash size N
40-
pub fn genesis_to_hash(pallas_hash: &pallas_primitives::Genesishash) -> Hash<32> {
40+
pub fn genesis_to_hash(pallas_hash: &pallas_primitives::Genesishash) -> Hash<28> {
4141
Hash::try_from(pallas_hash.as_ref()).unwrap()
4242
}
4343

common/src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ pub struct SPORewards {
10151015
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
10161016
pub struct GenesisKeyDelegation {
10171017
/// Genesis hash
1018-
pub genesis_hash: Hash<32>,
1018+
pub genesis_hash: Hash<28>,
10191019

10201020
/// Genesis delegate hash
10211021
pub genesis_delegate_hash: PoolId,

0 commit comments

Comments
 (0)