Skip to content

Commit 2c19d33

Browse files
authored
refactor: switch various hash types to aliases (#997)
Signed-off-by: Aurora Gaffney <[email protected]>
1 parent 0b55e35 commit 2c19d33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ledger/common/certs.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,9 @@ func (c *StakeDelegationCertificate) Type() uint {
258258
}
259259

260260
type (
261-
PoolKeyHash Blake2b224
262-
PoolMetadataHash Blake2b256
263-
VrfKeyHash Blake2b256
261+
PoolKeyHash = Blake2b224
262+
PoolMetadataHash = Blake2b256
263+
VrfKeyHash = Blake2b256
264264
)
265265

266266
type PoolMetadata struct {

0 commit comments

Comments
 (0)