Commit d0da3c2
committed
Remove merged_payout_hash chain depth guard — match p2pool exactly
p2pool's compute_merged_payout_hash has NO height < CHAIN_LENGTH guard.
It computes a real hash for any height > 0 using min(height, CHAIN_LENGTH).
c2pool was returning zero for height < 400, causing ref_hash mismatch
on shallow chains.1 parent da0ba66 commit d0da3c2
1 file changed
Lines changed: 5 additions & 4 deletions
File tree
- src/impl/ltc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1174 | 1174 | | |
1175 | 1175 | | |
1176 | 1176 | | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
1180 | 1182 | | |
1181 | 1183 | | |
1182 | | - | |
1183 | 1184 | | |
1184 | 1185 | | |
1185 | 1186 | | |
| |||
0 commit comments