Skip to content

Commit

Permalink
chainspace: Fix authorization-id digest calculation (#241)
Browse files Browse the repository at this point in the history
Signed-off-by: Shreevatsa N <[email protected]>
  • Loading branch information
vatsa287 authored Sep 24, 2024
1 parent 96c6dbf commit 75d8c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/chain-space/src/ChainSpace.chain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ export async function getUriForSpace(
.toU8a()

const authDigest = blake2AsHex(
Uint8Array.from([...scaleEncodedAuthDigest, ...scaleEncodedAuthDelegate])
Uint8Array.from([...scaleEncodedAuthDigest, ...scaleEncodedAuthDelegate, ...scaleEncodedAuthDelegate])
)

const authorizationUri = hashToUri(
Expand Down

0 comments on commit 75d8c47

Please sign in to comment.