Skip to content

Commit

Permalink
node: lint governor_monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsaigle committed Jul 30, 2024
1 parent 4447d6f commit ff03fc4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions node/pkg/governor/governor_monitoring.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,15 +654,15 @@ func (gov *ChainGovernor) publishStatus(hb *gossipv1.Heartbeat, sendC chan<- []b
}

emitter := gossipv1.ChainGovernorStatus_Emitter{
EmitterAddress: "0x" + ce.emitterAddr.String(),
TotalEnqueuedVaas: uint64(len(ce.pending)),
EnqueuedVaas: enqueuedVaas,
EmitterAddress: "0x" + ce.emitterAddr.String(),
TotalEnqueuedVaas: uint64(len(ce.pending)),
EnqueuedVaas: enqueuedVaas,
}

chains = append(chains, &gossipv1.ChainGovernorStatus_Chain{
ChainId: uint32(ce.emitterChainId),
RemainingAvailableNotional: remaining,
Emitters: []*gossipv1.ChainGovernorStatus_Emitter{&emitter},
ChainId: uint32(ce.emitterChainId),
RemainingAvailableNotional: remaining,
Emitters: []*gossipv1.ChainGovernorStatus_Emitter{&emitter},
SmallTxNetNotionalValue: netUsage,
SmallTxOutgoingNotionalValue: smallTxNotional,
FlowCancelNotionalValue: flowCancelNotional,
Expand Down

0 comments on commit ff03fc4

Please sign in to comment.