Lazzeruz 9b722b8669 More changes yay
Renamed a bunch of stuff to the right Github. Hope it works.
2023-12-09 21:18:29 +01:00

18 lines
445 B
Go

package server
import (
"context"
<<<<<<< Updated upstream:cmd/kaspawallet/daemon/server/shutdown.go
=======
>>>>>>> Stashed changes:cmd/zoomywallet/daemon/server/shutdown.go
"github.com/zoomy-network/zoomyd/cmd/zoomywallet/daemon/pb"
)
func (s *server) Shutdown(ctx context.Context, request *pb.ShutdownRequest) (*pb.ShutdownResponse, error) {
s.lock.Lock()
defer s.lock.Unlock()
close(s.shutdown)
return &pb.ShutdownResponse{}, nil
}