Page MenuHomePhabricator

D5152.diff
No OneTemporary

D5152.diff

diff --git a/landing/siwe.react.js b/landing/siwe.react.js
--- a/landing/siwe.react.js
+++ b/landing/siwe.react.js
@@ -53,10 +53,10 @@
async function signInWithEthereum(address, signer) {
const message = createSiweMessage(address, 'Sign in to Comm with Ethereum');
- const signedMessage = await signer.signMessage(message);
- const messageToPost = JSON.stringify({ address, signer });
+ const signature = await signer.signMessage(message);
+ const messageToPost = JSON.stringify({ address, signature });
window.ReactNativeWebView?.postMessage?.(messageToPost);
- return signedMessage;
+ return signature;
}
function SIWE(): React.Node {

File Metadata

Mime Type
text/plain
Expires
Tue, Oct 1, 7:29 PM (21 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2212647
Default Alt Text
D5152.diff (657 B)

Event Timeline