shorter repl key
This commit is contained in:
parent
f95ee94f62
commit
42b0a2a38b
@ -26,6 +26,7 @@ import (
|
||||
"github.com/anytypeio/any-sync/util/keys/asymmetric/signingkey"
|
||||
"github.com/zeebo/errs"
|
||||
"go.uber.org/zap"
|
||||
"strconv"
|
||||
"sync"
|
||||
"sync/atomic"
|
||||
"time"
|
||||
@ -65,7 +66,7 @@ type SpaceDescription struct {
|
||||
}
|
||||
|
||||
func NewSpaceId(id string, repKey uint64) string {
|
||||
return fmt.Sprintf("%s.%d", id, repKey)
|
||||
return fmt.Sprintf("%s.%s", id, strconv.FormatUint(repKey, 36))
|
||||
}
|
||||
|
||||
type Space interface {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user