diff --git a/internal/rpc/rpcserver/server.go b/internal/rpc/rpcserver/server.go index f5920190a..7bf381f61 100644 --- a/internal/rpc/rpcserver/server.go +++ b/internal/rpc/rpcserver/server.go @@ -1819,7 +1819,7 @@ func (s *walletServer) PurchaseTickets(ctx context.Context, } vspClient, err = loader.VSP(cfg) if err != nil { - return nil, status.Errorf(codes.Unknown, "VSP Server instance failed to start: %v", err) + return nil, status.Errorf(codes.Unknown, "VSP client failed to start. Error: %v", err) } } @@ -2620,7 +2620,7 @@ func (t *ticketbuyerServer) RunTicketBuyer(req *pb.RunTicketBuyerRequest, svr pb } vspClient, err = loader.VSP(cfg) if err != nil { - return status.Errorf(codes.Unknown, "TicketBuyer instance failed to start. Error: %v", err) + return status.Errorf(codes.Unknown, "VSP client failed to start. Error: %v", err) } } if req.BalanceToMaintain < 0 { @@ -4095,7 +4095,7 @@ func (s *walletServer) SyncVSPFailedTickets(ctx context.Context, req *pb.SyncVSP } vspClient, err := loader.VSP(cfg) if err != nil { - return nil, status.Errorf(codes.Unknown, "TicketBuyer instance failed to start. Error: %v", err) + return nil, status.Errorf(codes.Unknown, "VSP client failed to start. Error: %v", err) } // Process tickets fee if needed. @@ -4135,7 +4135,7 @@ func (s *walletServer) ProcessManagedTickets(ctx context.Context, req *pb.Proces } vspClient, err := loader.VSP(cfg) if err != nil { - return nil, status.Errorf(codes.Unknown, "VSPClient instance failed to start. Error: %v", err) + return nil, status.Errorf(codes.Unknown, "VSP client failed to start. Error: %v", err) } tickets, err := s.wallet.ProcessedTickets(ctx) @@ -4168,7 +4168,7 @@ func (s *walletServer) ProcessUnmanagedTickets(ctx context.Context, req *pb.Proc } vspClient, err := loader.VSP(cfg) if err != nil { - return nil, status.Errorf(codes.Unknown, "VSPClient instance failed to start. Error: %v", err) + return nil, status.Errorf(codes.Unknown, "VSP client failed to start. Error: %v", err) } unmanagedTickets, err := s.wallet.UnprocessedTickets(ctx) @@ -4198,7 +4198,7 @@ func (s *walletServer) SetVspdVoteChoices(ctx context.Context, req *pb.SetVspdVo } vspClient, err := loader.VSP(cfg) if err != nil { - return nil, status.Errorf(codes.Unknown, "VSPClient instance failed to start. Error: %v", err) + return nil, status.Errorf(codes.Unknown, "VSP client failed to start. Error: %v", err) } treasuryChoices := make(map[string]string)