Skip to content

Commit 63050a0

Browse files
committed
Fix milestone no-ack parsing
1 parent 7fbf825 commit 63050a0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

consensus/bor/bor.go

+2
Original file line numberDiff line numberDiff line change
@@ -1252,6 +1252,8 @@ func (c *Bor) FetchAndCommitSpan(
12521252
for _, val := range response.SelectedProducers {
12531253
producers = append(producers, val.MinimalVal())
12541254
}
1255+
1256+
log.Error("Fetched span", "span", minSpan, "validators", validators, "producers", producers, "span", fmt.Sprintf("response: %+v", response))
12551257
}
12561258

12571259
// check if chain id matches with Heimdall span

consensus/bor/heimdall/client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const (
8686
fetchMilestoneCount = "/milestone/count"
8787

8888
fetchLastNoAckMilestone = "/milestone/last-no-ack"
89-
fetchNoAckMilestone = "/milestone/noAck/%s"
89+
fetchNoAckMilestone = "/milestone/no-ack/%s"
9090
fetchMilestoneID = "/milestone/ID/%s"
9191

9292
fetchSpanFormat = "bor/span/%d"

0 commit comments

Comments
 (0)