Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3619: Add IsString (Hash BlockHeader) r=andreabedini a=andreabedini This PR adds the instance IsString (Hash BlockHeader) following the same pattern of many other keys in Cardano.Api. The use case is simple, being able to refer to a specific point on the chain. E.g. recentPoint :: ChainPoint recentPoint = ChainPoint (SlotNo 53427524) "5e2bde4e504a9888a4..." I am also changing the Show instance, as it seems to be the common pattern. Co-authored-by: Andrea Bedini <andrea@andreabedini.com>
- Loading branch information