Skip to content

Commit

Permalink
(unfinished) consensus: add node id preimage todo
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Jan 6, 2024
1 parent a30d244 commit 9a83f4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions analyzer/consensus/consensus.go
Original file line number Diff line number Diff line change
Expand Up @@ -1111,6 +1111,7 @@ func (m *processor) extractEventData(event nodeapi.Event) parsedEvent {
eventData.relatedRuntime = RuntimeFromId(event.RoothashExecutorCommitted.RuntimeID, m.network)
eventData.relatedRuntimeRound = event.RoothashExecutorCommitted.Round
if event.RoothashExecutorCommitted.NodeID != nil {
// TODO: preimage?
nodeAddr := staking.NewAddress(*event.RoothashExecutorCommitted.NodeID)
eventData.relatedAddresses = []staking.Address{nodeAddr}
}
Expand Down

0 comments on commit 9a83f4c

Please sign in to comment.