Commit 21fe75f
fix: guard GetProTxHash() behind is_masternode check, add CQuorum safety assert
In TriggerQuorumDataRecoveryThreads, avoid calling GetProTxHash() in
observer mode where it returns a null hash. Also adds missing const
qualifier and fixes operator spacing.
Assert m_quorum_base_block_index in CQuorum constructor, consistent
with the existing qc != nullptr assertion.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 27129d9 commit 21fe75f
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
450 | | - | |
| 448 | + | |
| 449 | + | |
451 | 450 | | |
452 | | - | |
| 451 | + | |
453 | 452 | | |
454 | 453 | | |
455 | 454 | | |
456 | | - | |
| 455 | + | |
457 | 456 | | |
458 | 457 | | |
459 | 458 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
0 commit comments