Commit 34934f7
authored
Fix arma block verifier BFT detection in sidecar (#597)
#### Type of change
- Bug fix
#### Description
Enable BFT block signature verification when orderer consensus type is
arma, not only when channel capabilities report BFT support. Arma blocks
carry BFT signatures via IdentifierHeader, and channels may not enable
V3_0 capabilities.
Without this, sidecar treats arma blocks as non-BFT, ignores consenters,
and rejects block 1 with signature policy failures.
Signed-off-by: Senthilnathan <cendhu@gmail.com>1 parent 0851b04 commit 34934f7
2 files changed
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
453 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
454 | 456 | | |
455 | 457 | | |
456 | 458 | | |
| |||
461 | 463 | | |
462 | 464 | | |
463 | 465 | | |
464 | | - | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
465 | 474 | | |
466 | 475 | | |
467 | 476 | | |
| |||
0 commit comments