diff options
-rw-r--r-- | bridge/core/token.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/core/token.go b/bridge/core/token.go index 2ceabca2..449ebbb5 100644 --- a/bridge/core/token.go +++ b/bridge/core/token.go @@ -43,7 +43,7 @@ func NewToken(value, target string) *Token { } func (t *Token) ID() entity.Id { - sum := sha256.Sum256([]byte(t.Value)) + sum := sha256.Sum256([]byte(t.Target + t.Value)) return entity.Id(fmt.Sprintf("%x", sum)) } |