Skip to content

Commit

Permalink
Third test
Browse files Browse the repository at this point in the history
  • Loading branch information
amendelzon committed Nov 7, 2023
1 parent b0448a3 commit 266b8e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/periodic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
call-run-c-linter-on-branches:
strategy:
matrix:
branch: [master, develop-2.3]
branch: ${{ fromJSON(vars.TARGET_BRANCHES_PERIODIC_RUNS) }}
uses: ./.github/workflows/lint-c.yml
with:
branch: ${{ matrix.branch }}
Expand Down
5 changes: 2 additions & 3 deletions ledger/src/signer/src/bc_advance.c
Original file line number Diff line number Diff line change
Expand Up @@ -391,9 +391,8 @@ static void bc_mm_header_received() {
if (PROCESSING_BLOCK()) {
// First block: perform blockchain advance prologue
// Otherwise: verify block chains to parent
if (curr_block == 0) {
bc_adv_prologue();
} else if (HNEQ(aux_bc_st.prev_parent_hash, block.block_hash)) {
if (curr_block == 0) { bc_adv_prologue();
} else if (HNEQ(aux_bc_st.prev_parent_hash, block.block_hash)) {
LOG_HEX("PAR", aux_bc_st.prev_parent_hash, HASH_LENGTH);
LOG_HEX("BLK", block.block_hash, HASH_LENGTH);
FAIL(CHAIN_MISMATCH);
Expand Down

0 comments on commit 266b8e2

Please sign in to comment.