diff --git a/zetaclient/tss/setup.go b/zetaclient/tss/setup.go index fdc2b0d3b8..ae1ff88de7 100644 --- a/zetaclient/tss/setup.go +++ b/zetaclient/tss/setup.go @@ -4,7 +4,7 @@ import ( "context" "fmt" "os" - "path" + "path/filepath" "slices" "time" @@ -52,8 +52,6 @@ func Setup(ctx context.Context, p SetupProps, logger zerolog.Logger) (*Service, return nil, fmt.Errorf("hot privateKey: expect 32 bytes, got %d bytes", len(hotPrivateKey.Bytes())) } - p.Zetacore.GetKeys().GetKeybase() - hotPrivateKeyECDSA := secp256k1.PrivKey(hotPrivateKey.Bytes()[:32]) // 1. Parse bootstrap peer if provided @@ -263,7 +261,7 @@ func resolveTSSPath(tssPath string, logger zerolog.Logger) (string, error) { return "", errors.Wrap(err, "unable to get user home dir") } - tssPath = path.Join(home, ".tss") + tssPath = filepath.Join(home, ".tss") logger.Warn().Msgf("TSS path is empty, falling back to %s", tssPath) return tssPath, nil