mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-09 13:56:23 +00:00
fix comment
This commit is contained in:
parent
8b5e18b7a4
commit
8273345a2c
@ -32,7 +32,7 @@ type
|
|||||||
Eth2Hash* = keccak256 ## Context for hash function
|
Eth2Hash* = keccak256 ## Context for hash function
|
||||||
|
|
||||||
func shortLog*(x: Eth2Digest): string =
|
func shortLog*(x: Eth2Digest): string =
|
||||||
# result = is needed to fix
|
# result = is needed to fix https://github.com/status-im/nim-beacon-chain/issues/209
|
||||||
result = ($x)[0..7]
|
result = ($x)[0..7]
|
||||||
|
|
||||||
func eth2hash*(v: openArray[byte]): Eth2Digest =
|
func eth2hash*(v: openArray[byte]): Eth2Digest =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user