Skip to content

Commit

Permalink
casing
Browse files Browse the repository at this point in the history
  • Loading branch information
gouthamp-stellar committed Sep 22, 2024
1 parent 43fcf10 commit db8714d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (c *serveCmd) Command() *cobra.Command {
utils.NetworkPassphraseOption(&cfg.NetworkPassphrase),
utils.BaseFeeOption(&cfg.BaseFee),
utils.HorizonClientURLOption(&cfg.HorizonClientURL),
utils.RPCURLOption(&cfg.RpcUrl),
utils.RPCURLOption(&cfg.RPCURL),
utils.RPCCallerServiceChannelBufferSizeOption(&cfg.RPCCallerServiceChannelBufferSize),
utils.RPCCallerServiceMaxWorkersOption(&cfg.RPCCallerServiceChannelMaxWorkers),
utils.ChannelAccountEncryptionPassphraseOption(&cfg.EncryptionPassphrase),
Expand Down
14 changes: 7 additions & 7 deletions internal/serve/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ type Configs struct {
DistributionAccountSignatureClient signing.SignatureClient
ChannelAccountSignatureClient signing.SignatureClient
// TSS
RpcUrl string
RPCURL string
RPCCallerServiceChannelBufferSize int
RPCCallerServiceChannelMaxWorkers int
// Error Tracker
Expand All @@ -84,8 +84,8 @@ type handlerDeps struct {
AccountSponsorshipService services.AccountSponsorshipService
PaymentService services.PaymentService
// TSS
RpcCallerServiceChannel tss.Channel
RpcCallerService tssservices.Service
RPCCallerServiceChannel tss.Channel
RPCCallerService tssservices.Service
AppTracker apptracker.AppTracker
}

Expand All @@ -104,7 +104,7 @@ func Serve(cfg Configs) error {
},
OnStopping: func() {
log.Info("Stopping Wallet Backend server")
deps.RpcCallerServiceChannel.Stop()
deps.RPCCallerServiceChannel.Stop()
},
})

Expand Down Expand Up @@ -174,7 +174,7 @@ func initHandlerDeps(cfg Configs) (handlerDeps, error) {
DistributionAccountSignatureClient: cfg.DistributionAccountSignatureClient,
ChannelAccountSignatureClient: cfg.ChannelAccountSignatureClient,
HorizonClient: &horizonClient,
RPCURL: cfg.RpcUrl,
RPCURL: cfg.RPCURL,
BaseFee: int64(cfg.BaseFee), // Reuse horizon base fee for RPC??
HTTPClient: &httpClient,
}
Expand Down Expand Up @@ -210,8 +210,8 @@ func initHandlerDeps(cfg Configs) (handlerDeps, error) {
PaymentService: paymentService,
AppTracker: cfg.AppTracker,
// TSS
RpcCallerServiceChannel: rpcCallerServiceChannel,
RpcCallerService: rpcCallerService,
RPCCallerServiceChannel: rpcCallerServiceChannel,
RPCCallerService: rpcCallerService,
}, nil
}

Expand Down

0 comments on commit db8714d

Please sign in to comment.