Commit 4c67a5f
Fix code review finding: use to_string for ConsensusMode attr
Replace hand-rolled ternary that missed switchedLedger with
existing to_string(ConsensusMode) which handles all 4 enum values.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 7593627 commit 4c67a5f
1 file changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
| 285 | + | |
290 | 286 | | |
291 | 287 | | |
292 | 288 | | |
| |||
0 commit comments