Commit 2079bd7
consensus: remove CPP from headerRealPoint
GHC 9.4+ "erroneously" requires HasHeader blk. This patch prevents that. I
_think_ the new local signature forces GHC to invoke the HeaderHash (Header
blk) ~ HeaderHash blk rewrite _later_, thereby avoiding that undesirable Wanted
constraint.1 parent 5608d79 commit 2079bd7
2 files changed
Lines changed: 6 additions & 9 deletions
File tree
- ouroboros-consensus/src/ouroboros-consensus/Ouroboros/Consensus/Block
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
| 89 | + | |
96 | 90 | | |
97 | 91 | | |
98 | 92 | | |
99 | 93 | | |
100 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
101 | 98 | | |
102 | 99 | | |
103 | 100 | | |
| |||
0 commit comments