From c6bc1414dfedb300e279ebfbe0d19b1463c7663e Mon Sep 17 00:00:00 2001 From: John Saigle Date: Tue, 16 Jul 2024 17:17:05 -0400 Subject: [PATCH] node: goimports formatting --- node/pkg/governor/governor_monitoring.go | 10 +++++----- node/pkg/proto/gossip/v1/gossip.pb.go | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/node/pkg/governor/governor_monitoring.go b/node/pkg/governor/governor_monitoring.go index 58b188fad1..7a51ecab63 100644 --- a/node/pkg/governor/governor_monitoring.go +++ b/node/pkg/governor/governor_monitoring.go @@ -649,12 +649,12 @@ 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, - SmallTxNetNotionalValue: netUsage, + EmitterAddress: "0x" + ce.emitterAddr.String(), + TotalEnqueuedVaas: uint64(len(ce.pending)), + EnqueuedVaas: enqueuedVaas, + SmallTxNetNotionalValue: netUsage, SmallTxOutgingNotionalValue: smallTxNotional, - FlowCancelNotionalValue: flowCancelNotional, + FlowCancelNotionalValue: flowCancelNotional, } chains = append(chains, &gossipv1.ChainGovernorStatus_Chain{ diff --git a/node/pkg/proto/gossip/v1/gossip.pb.go b/node/pkg/proto/gossip/v1/gossip.pb.go index 32e273c4cb..8d2aa70586 100644 --- a/node/pkg/proto/gossip/v1/gossip.pb.go +++ b/node/pkg/proto/gossip/v1/gossip.pb.go @@ -7,10 +7,11 @@ package gossipv1 import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const (