Commit 18b990b
refactor: move superblock sync check inside !IsTestChain() guard
Move the superblock sync check in getblocktemplate inside the existing
!IsTestChain() block, matching the pattern used by the IBD check.
Previously this was gated by SPORK_9 which was off on test networks;
after spork removal the check would run unconditionally, requiring
full masternode sync on test networks at superblock heights.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent b2cde07 commit 18b990b
2 files changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
727 | 727 | | |
728 | 728 | | |
729 | 729 | | |
730 | | - | |
731 | 730 | | |
732 | | - | |
733 | | - | |
734 | | - | |
| 731 | + | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
| |||
0 commit comments