Prefer access key with SEALED_SENDER.UNKNOWN
This commit is contained in:
parent
165eecdf79
commit
0e54740e01
1 changed files with 5 additions and 4 deletions
|
@ -1278,10 +1278,11 @@ function getAccessKey(
|
||||||
return accessKey || undefined;
|
return accessKey || undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (sealedSender === SEALED_SENDER.UNKNOWN) {
|
||||||
sealedSender === SEALED_SENDER.UNKNOWN ||
|
return accessKey || ZERO_ACCESS_KEY;
|
||||||
sealedSender === SEALED_SENDER.UNRESTRICTED
|
}
|
||||||
) {
|
|
||||||
|
if (sealedSender === SEALED_SENDER.UNRESTRICTED) {
|
||||||
return ZERO_ACCESS_KEY;
|
return ZERO_ACCESS_KEY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue