1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Display internet protocol on the domain in SIWE screen (#18052)

This commit is contained in:
Vladimir Saric 2023-03-13 18:40:43 +01:00 committed by GitHub
parent 29674537e8
commit 14b1555ee3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ describe('Sign in with ethereum', function () {
);
const origin = await driver.findElement('.site-origin');
assert.equal(await title.getText(), 'Sign-in request');
assert.equal(await origin.getText(), '127.0.0.1:8080');
assert.equal(await origin.getText(), 'http://127.0.0.1:8080');
const displayedMessageTitle = await driver.findElement(
'.permissions-connect-header__subtitle',

View File

@ -86,7 +86,7 @@ export default function SignatureRequestSIWE({
<div className="signature-request-siwe">
<Header
fromAccount={fromAccount}
domain={parsedMessage.domain}
domain={origin}
isSIWEDomainValid={isSIWEDomainValid}
subjectMetadata={targetSubjectMetadata}
/>